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

◆ describe()

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

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

Implements MayaFlux::IO::TensorReader.

Definition at line 142 of file NpzFormat.cpp.

143{
144 std::vector<Kakshya::TensorSpec> specs;
145 specs.reserve(m_entries.size());
146 for (const auto& entry : m_entries) {
147 specs.push_back(entry.spec);
148 }
149 return specs;
150}
std::vector< Entry > m_entries
Definition NpzFormat.hpp:57

References m_entries.