virtual std::vector< std::string > get_supported_extensions() const =0
Extensions this format writes, without dots.
virtual std::string get_last_error() const =0
Reason the last write failed, or empty.
virtual bool write(const std::string &filepath, const Kakshya::TensorSet &tensors)=0
Write every tensor in the set to a file.
virtual ~TensorWriter()=default
Single-shot writer of a TensorSet to one file format.
Named tensors that belong together, such as a model's weights or I/O.