Operator state. This is a pointer type, its content is mutable even if OpStatePtr is const.
More...
#include <op_attr_types.h>
|
| template<typename T , typename... Args> |
| static OpStatePtr | Create (Args &&... args) |
| |
Operator state. This is a pointer type, its content is mutable even if OpStatePtr is const.
◆ Create()
template<typename T , typename... Args>
| static OpStatePtr mxnet::OpStatePtr::Create |
( |
Args &&... |
args | ) |
|
|
inlinestatic |
◆ get_state()
template<typename T >
| T& mxnet::OpStatePtr::get_state |
( |
| ) |
const |
|
inline |
◆ get_var()
◆ operator bool()
| mxnet::OpStatePtr::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ reset()
| void mxnet::OpStatePtr::reset |
( |
| ) |
|
|
inline |
◆ unique()
| bool mxnet::OpStatePtr::unique |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: