MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ describe()

std::vector< Kakshya::TensorSpec > MayaFlux::IO::SafetensorsReader::describe ( ) const
nodiscardoverridevirtual

Specs of every tensor in the open file, in file order, without reading data.

Implements MayaFlux::IO::TensorReader.

Definition at line 169 of file SafetensorsFormat.cpp.

170{
171 std::vector<Kakshya::TensorSpec> specs;
172 specs.reserve(m_entries.size());
173 for (const auto& entry : m_entries)
174 specs.push_back(entry.spec);
175 return specs;
176}

References m_entries.