mxnet
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Public Member Functions | Static Public Member Functions | List of all members
mxnet::OpStatePtr Class Reference

Operator state. This is a pointer type, its content is mutable even if OpStatePtr is const. More...

#include <op_attr_types.h>

Collaboration diagram for mxnet::OpStatePtr:
Collaboration graph

Public Member Functions

engine::VarHandle get_var () const
 
template<typename T >
T & get_state () const
 
void reset ()
 
 operator bool () const
 

Static Public Member Functions

template<typename T , typename... Args>
static OpStatePtr Create (Args &&...args)
 

Detailed Description

Operator state. This is a pointer type, its content is mutable even if OpStatePtr is const.

Member Function Documentation

template<typename T , typename... Args>
static OpStatePtr mxnet::OpStatePtr::Create ( Args &&...  args)
inlinestatic
template<typename T >
T& mxnet::OpStatePtr::get_state ( ) const
inline
engine::VarHandle mxnet::OpStatePtr::get_var ( ) const
inline
mxnet::OpStatePtr::operator bool ( ) const
inlineexplicit
void mxnet::OpStatePtr::reset ( )
inline

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