Deepity
Ultra-fast, SIMD-accelerated Predictive Coding
Loading...
Searching...
No Matches
Deep::TensorDescriptor Struct Reference

A named, shaped view into a layer's weight/bias data, for ModelIO's save/load (see Layer::GetStateDict()). More...

#include <Layer.h>

Public Attributes

float * data
 Pointer to the tensor's first element.
std::vector< size_t > shape
 Tensor's dimensions, e.g. {out, in}.

Detailed Description

A named, shaped view into a layer's weight/bias data, for ModelIO's save/load (see Layer::GetStateDict()).

Member Data Documentation

◆ data

float* Deep::TensorDescriptor::data

Pointer to the tensor's first element.

◆ shape

std::vector<size_t> Deep::TensorDescriptor::shape

Tensor's dimensions, e.g. {out, in}.


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