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

◆ read()

virtual std::optional< Kakshya::TensorData > MayaFlux::IO::TensorReader::read ( std::string_view name)
nodiscardpure virtual

Read one tensor by name.

Returns
The tensor, or std::nullopt with get_last_error() set.

Implemented in MayaFlux::IO::NpyReader, MayaFlux::IO::NpzReader, MayaFlux::IO::RawTensorReader, and MayaFlux::IO::SafetensorsReader.

References read_tensors().

Referenced by read_tensors().

Here is the call graph for this function:
Here is the caller graph for this function: