Mila 0.13.48
Deep Neural Network Library
Loading...
Searching...
No Matches
Mila::Dnn::Serialization::TensorMetadata Struct Referenceexport

Metadata describing a tensor in serialized form. More...

Collaboration diagram for Mila::Dnn::Serialization::TensorMetadata:

Public Attributes

dtype_t dtype
shape_t shape
size_t total_bytes { 0 }

Detailed Description

Metadata describing a tensor in serialized form.

Contains the minimum information required to interpret raw tensor bytes: precision format, dimensional shape, and total size for validation.

Member Data Documentation

◆ dtype

dtype_t Mila::Dnn::Serialization::TensorMetadata::dtype

◆ shape

shape_t Mila::Dnn::Serialization::TensorMetadata::shape

◆ total_bytes

size_t Mila::Dnn::Serialization::TensorMetadata::total_bytes { 0 }

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