base class of engine variables.
More...
#include <engine.h>
|
virtual size_t | version () |
|
virtual | ~Var ()=default |
|
template<typename T > |
T * | Cast () |
| cast variable to derived type T More...
|
|
|
size_t | version_ {0} |
| version number of the var. Every time the object it is associated with is modified, the version number is incremented by 1. More...
|
|
base class of engine variables.
virtual mxnet::engine::Var::~Var |
( |
| ) |
|
|
virtualdefault |
template<typename T >
T* mxnet::engine::Var::Cast |
( |
| ) |
|
|
inline |
cast variable to derived type T
- Template Parameters
-
T | the type we want to cast into. |
- Returns
- A casted variable.
virtual size_t mxnet::engine::Var::version |
( |
| ) |
|
|
inlinevirtual |
size_t mxnet::engine::Var::version_ {0} |
version number of the var. Every time the object it is associated with is modified, the version number is incremented by 1.
The documentation for this struct was generated from the following file: