Huggingface.js documentation

Interface: TensorInfo

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Interface: TensorInfo

Properties

data _ offsets

data_offsets: [number, number]

Defined in

hub/src/lib/parse-safetensors-metadata.ts:50


dtype

dtype: Dtype

Defined in

hub/src/lib/parse-safetensors-metadata.ts:48


shape

shape: number[]

Defined in

hub/src/lib/parse-safetensors-metadata.ts:49

< > Update on GitHub