MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Kakshya::TensorSet Struct Reference

Named tensors that belong together, such as a model's weights or I/O. More...

#include <Tensor.hpp>

Collaboration diagram for MayaFlux::Kakshya::TensorSet:

Public Member Functions

TensorData * find (std::string_view name)
 Tensor with this exact name, or nullptr.
const TensorData * find (std::string_view name) const
 Tensor with this exact name, or nullptr.
bool is_consistent () const
 Whether every tensor is valid and named, with no duplicate names.

Public Attributes

std::map< std::string, std::string > metadata
std::vector< TensorData > tensors

Detailed Description

Named tensors that belong together, such as a model's weights or I/O.

Mirrors a safetensors or ONNX initializer set: ordered tensors with unique names, plus free-form string metadata.

Definition at line 167 of file Tensor.hpp.


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