Type Alias: GgufTensorInfo
ts
type GgufTensorInfo = {
name: string;
dimensions: readonly (number | bigint)[];
ggmlType: GgmlType;
offset: number | bigint;
fileOffset: number | bigint;
filePart: number;
};
Defined in: gguf/types/GgufTensorInfoTypes.ts:1
Type declaration
name
ts
readonly name: string;
dimensions
ts
readonly dimensions: readonly (number | bigint)[];
ggmlType
ts
readonly ggmlType: GgmlType;
offset
ts
readonly offset: number | bigint;
fileOffset
ts
readonly fileOffset: number | bigint;
Adjusted offset relative to the file.
Added by the GGUF parser - not part of the file's metadata.
filePart
ts
readonly filePart: number;
For spliced metadata of multiple file parts, this will be the file part number. Starts from 1
.
Added by the GGUF parser - not part of the file's metadata.