GenericData for holding data when passing up the tensor graph.
More...
#include <data.hpp>
|
| GenericData (void)=default |
|
| GenericData (ade::Shape shape, age::_GENERATED_DTYPE dtype) |
|
void | copyover (const char *indata, age::_GENERATED_DTYPE intype) |
|
GenericData for holding data when passing up the tensor graph.
◆ GenericData() [1/2]
llo::GenericData::GenericData |
( |
void |
| ) |
|
|
default |
◆ GenericData() [2/2]
llo::GenericData::GenericData |
( |
ade::Shape |
shape, |
|
|
age::_GENERATED_DTYPE |
dtype |
|
) |
| |
◆ copyover()
void llo::GenericData::copyover |
( |
const char * |
indata, |
|
|
age::_GENERATED_DTYPE |
intype |
|
) |
| |
Copy over data of specified type while retaining shape This makes the assumption that the indata fits in shape perfectly
◆ data_
std::shared_ptr<char> llo::GenericData::data_ |
Smartpointer to a block of untyped data.
◆ dtype_
age::_GENERATED_DTYPE llo::GenericData::dtype_ |
◆ shape_
ade::Shape llo::GenericData::shape_ |
The documentation for this struct was generated from the following file: