pulsatrix
Loading...
Searching...
No Matches
pulsatrix::SafetensorsTensorInfo Struct Reference

One tensor's header entry. Offsets are relative to the start of the data section. More...

#include <safetensors.hpp>

Public Attributes

SafetensorsDtype dtype
 
std::vector< int64_t > shape
 
uint64_t data_begin
 
uint64_t data_end
 

Detailed Description

One tensor's header entry. Offsets are relative to the start of the data section.

Member Data Documentation

◆ data_begin

uint64_t pulsatrix::SafetensorsTensorInfo::data_begin

◆ data_end

uint64_t pulsatrix::SafetensorsTensorInfo::data_end

◆ dtype

SafetensorsDtype pulsatrix::SafetensorsTensorInfo::dtype

◆ shape

std::vector<int64_t> pulsatrix::SafetensorsTensorInfo::shape

The documentation for this struct was generated from the following file: