Skip to main content

NpyTensorSaverOptions

NpyTensorSaverOptions

Options for saving TensorData to a .npy file. More…

#include <Tensor_Data_numpy.hpp>

Public Attributes

Name
std::string filename
std::string parent_dir

Detailed Description

struct NpyTensorSaverOptions;

Options for saving TensorData to a .npy file.

The tensor data is written as a 2D float32 array in C (row-major) order. A companion sidecar <stem>_rows.npy is written alongside the data file containing the row labels (ordinal indices, time indices, or interval pairs).

Public Attributes Documentation

variable filename

std::string filename;

variable parent_dir

std::string parent_dir = ".";

Updated on 2026-11-13 at 20:25:39 +0000