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:30


dtype

dtype: Dtype

Defined in

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


shape

shape: number[]

Defined in

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