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

Writer for a single .npy array in dense C order. More...

#include <NpyFormat.hpp>

Inheritance diagram for MayaFlux::IO::NpyWriter:
Collaboration diagram for MayaFlux::IO::NpyWriter:

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 a single .npy array in dense C order.

Takes a set holding exactly one tensor. Element types numpy has no name for, such as bfloat16 and float8, are refused.

Definition at line 64 of file NpyFormat.hpp.


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