fast::HDF5TensorExporter class

Write a Tensor to a HDF5 file.

Uses the HDF5 C++ library to write a Tensor to a HDF5 file

Input ports

Base classes

class FileExporter
Abstract class for file exporters.

Public functions

auto create(std::string filename, std::string datasetName) -> std::shared_ptr<HDF5TensorExporter>
Create instance.
void setDatasetName(std::string name)
void loadAttributes() override

Private functions

void execute() override

Function documentation

std::shared_ptr<HDF5TensorExporter> fast::HDF5TensorExporter::create(std::string filename, std::string datasetName)

Create instance.

Parameters
filename Filename to open
datasetName Dataset in HDF file to open. Default is "tensor"
Returns instance