mxnet
Public Member Functions | Public Attributes | List of all members
mxnet::engine::Var Struct Reference

base class of engine variables. More...

#include <engine.h>

Collaboration diagram for mxnet::engine::Var:
Collaboration graph

Public Member Functions

virtual size_t version ()
 
virtual ~Var ()=default
 
template<typename T >
T * Cast ()
 cast variable to derived type T More...
 

Public Attributes

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...
 

Detailed Description

base class of engine variables.

Constructor & Destructor Documentation

virtual mxnet::engine::Var::~Var ( )
virtualdefault

Member Function Documentation

template<typename T >
T* mxnet::engine::Var::Cast ( )
inline

cast variable to derived type T

Template Parameters
Tthe type we want to cast into.
Returns
A casted variable.
virtual size_t mxnet::engine::Var::version ( )
inlinevirtual

Member Data Documentation

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: