Leaf node containing GenericData.
More...
#include <data.hpp>
|
std::string | label_ |
| Label for distinguishing variable nodes. More...
|
|
Leaf node containing GenericData.
◆ Variable() [1/3]
llo::Variable::Variable |
( |
const char * |
data, |
|
|
age::_GENERATED_DTYPE |
dtype, |
|
|
ade::Shape |
shape, |
|
|
std::string |
label |
|
) |
| |
|
inline |
◆ Variable() [2/3]
llo::Variable::Variable |
( |
const Variable & |
other | ) |
|
|
inline |
◆ Variable() [3/3]
llo::Variable::Variable |
( |
Variable && |
other | ) |
|
|
inline |
◆ data() [1/2]
void* llo::Variable::data |
( |
void |
| ) |
|
|
inlineoverride |
◆ data() [2/2]
const void* llo::Variable::data |
( |
void |
| ) |
const |
|
inlineoverride |
◆ nbytes()
size_t llo::Variable::nbytes |
( |
void |
| ) |
const |
|
inline |
Return number of bytes in data source.
◆ operator=() [1/4]
◆ operator=() [2/4]
◆ operator=() [3/4]
template<typename T >
Variable& llo::Variable::operator= |
( |
std::vector< T > |
data | ) |
|
|
inline |
Assign vectorized data to data source.
◆ operator=() [4/4]
Assign generic reference to data source.
◆ shape()
const ade::Shape& llo::Variable::shape |
( |
void |
| ) |
const |
|
inlineoverride |
Implementation of iTensor.
◆ to_string()
std::string llo::Variable::to_string |
( |
void |
| ) |
const |
|
inlineoverride |
Implementation of iTensor.
◆ type_code()
size_t llo::Variable::type_code |
( |
void |
| ) |
const |
|
inlineoverride |
◆ data_
◆ label_
std::string llo::Variable::label_ |
Label for distinguishing variable nodes.
The documentation for this struct was generated from the following file: