|
TinyLlama.cpp 1.0
A lightweight C++ implementation of the TinyLlama language model
|
Information about a tensor stored in a GGUF file. More...
#include <gguf_structs.h>

Public Attributes | |
| std::string | name |
| std::vector< uint64_t > | shape |
| GGMLType | type |
| uint64_t | offset |
| size_t | num_elements |
| size_t | size_in_bytes |
Information about a tensor stored in a GGUF file.
Definition at line 63 of file gguf_structs.h.
| std::string GGUFTensorInfo::name |
| size_t GGUFTensorInfo::num_elements |
Total number of elements in tensor
Definition at line 68 of file gguf_structs.h.
Referenced by load_gguf_meta().
| uint64_t GGUFTensorInfo::offset |
Offset of tensor data in file
Definition at line 67 of file gguf_structs.h.
Referenced by load_gguf_meta().
| std::vector<uint64_t> GGUFTensorInfo::shape |
Shape of the tensor as dimensions
Definition at line 65 of file gguf_structs.h.
Referenced by load_gguf_meta().
| size_t GGUFTensorInfo::size_in_bytes |
Total size of tensor data in bytes
Definition at line 69 of file gguf_structs.h.
Referenced by load_gguf_meta().
| GGMLType GGUFTensorInfo::type |
Data type of the tensor
Definition at line 66 of file gguf_structs.h.
Referenced by load_gguf_meta().