MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::IO::NpzWriter Class Reference

Writer for NumPy .npz archives, one stored (uncompressed) .npy entry per tensor. More...

#include <NpzFormat.hpp>

Inheritance diagram for MayaFlux::IO::NpzWriter:
Collaboration diagram for MayaFlux::IO::NpzWriter:

Public Member Functions

std::string get_last_error () const override
 Reason the last write failed, or empty.
std::vector< std::string > get_supported_extensions () const override
 Extensions this format writes, without dots.
bool write (const std::string &filepath, const Kakshya::TensorSet &tensors) override
 Write every tensor in the set to a file.
Public Member Functions inherited from MayaFlux::IO::TensorWriter
virtual ~TensorWriter ()=default

Private Attributes

std::string m_last_error

Detailed Description

Writer for NumPy .npz archives, one stored (uncompressed) .npy entry per tensor.

Entry names are the tensor names. A tensor numpy has no element type for is refused, and so is the whole set.

Definition at line 68 of file NpzFormat.hpp.


The documentation for this class was generated from the following files: