Definition at line 947 of file SOFIE_common_helpers.cxx.
Public Member Functions | |
| SafetensorsReader (SafetensorsBlob blob) | |
| template<class T > | |
| void | Read (const std::string &name, std::vector< T > &target, std::size_t expectedLength, const std::string &expectedDtype) |
Private Attributes | |
| const char * | fData |
| std::size_t | fSize |
| std::unordered_map< std::string, SafetensorsTensorInfo > | fTensors |
|
inlineexplicit |
Definition at line 949 of file SOFIE_common_helpers.cxx.
|
inline |
Definition at line 973 of file SOFIE_common_helpers.cxx.
|
private |
Definition at line 993 of file SOFIE_common_helpers.cxx.
|
private |
Definition at line 994 of file SOFIE_common_helpers.cxx.
|
private |
Definition at line 995 of file SOFIE_common_helpers.cxx.