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

◆ find_spec()

std::optional< Kakshya::TensorSpec > MayaFlux::IO::TensorReader::find_spec ( std::string_view name) const
nodiscard

Spec of one tensor by name, without reading data.

Definition at line 30 of file TensorReader.cpp.

31{
32 for (auto& spec : describe()) {
33 if (spec.name == name)
34 return std::move(spec);
35 }
36 return std::nullopt;
37}
virtual std::vector< Kakshya::TensorSpec > describe() const =0
Specs of every tensor in the open file, in file order, without reading data.

References describe().

Here is the call graph for this function: