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

◆ fail()

bool MayaFlux::IO::TensorReader::fail ( std::string reason)
inlineprotected

Record a failure reason and return false.

Definition at line 84 of file TensorReader.hpp.

85 {
86 m_last_error = std::move(reason);
87 return false;
88 }

References m_last_error.

Referenced by load_into_container(), MayaFlux::IO::NpyReader::open(), MayaFlux::IO::NpzReader::open(), MayaFlux::IO::RawTensorReader::open(), MayaFlux::IO::NpyReader::read(), MayaFlux::IO::NpzReader::read(), MayaFlux::IO::RawTensorReader::read(), MayaFlux::IO::SafetensorsReader::read(), read_tensors(), MayaFlux::IO::SafetensorsReader::reject(), and MayaFlux::IO::RawTensorReader::set_layout().

Here is the caller graph for this function: