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

◆ write()

virtual bool MayaFlux::IO::TensorWriter::write ( const std::string & filepath,
const Kakshya::TensorSet & tensors )
pure virtual

Write every tensor in the set to a file.

Parameters
filepathDestination path.
tensorsTensors with unique, non-empty names.
Returns
True only if the complete file was written.

Implemented in MayaFlux::IO::NpyWriter, MayaFlux::IO::NpzWriter, and MayaFlux::IO::SafetensorsWriter.