mxnet
|
Internal base class to handle conversion to POD values. More...
#include <packed_func.h>
Public Member Functions | |
operator double () const | |
operator int64_t () const | |
operator uint64_t () const | |
operator int () const | |
operator bool () const | |
operator void * () const | |
operator ObjectRef () const | |
template<typename TObjectRef , typename = typename std::enable_if< std::is_class<TObjectRef>::value>::type> | |
bool | IsObjectRef () const |
int | type_code () const |
template<typename T > | |
T * | ptr () const |
return handle as specific pointer type. More... | |
Protected Member Functions | |
MXNetPODValue_ () | |
MXNetPODValue_ (MXNetValue value, int type_code) | |
Protected Attributes | |
MXNetValue | value_ |
The value. More... | |
int | type_code_ |
the type code More... | |
Friends | |
class | MXNetArgsSetter |
class | MXNetRetValue |
Internal base class to handle conversion to POD values.
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
return handle as specific pointer type.
T | the data type. |
|
inline |
|
friend |
|
friend |
|
protected |
the type code
|
protected |
The value.