|
mxnet
|
A single argument value to PackedFunc. Containing both type_code and MXNetValue. More...
#include <packed_func.h>


Public Member Functions | |
| MXNetArgValue () | |
| default constructor More... | |
| MXNetArgValue (MXNetValue value, int type_code) | |
| constructor More... | |
| operator std::string () const | |
| operator DLDataType () const | |
| operator MXNetDataType () const | |
| operator::mxnet::NDArray * () const | |
| operator PackedFunc () const | |
| template<typename FType > | |
| operator TypedPackedFunc< FType > () const | |
| const MXNetValue & | value () const |
| template<typename TObjectRef > | |
| TObjectRef | AsObjectRef () const |
| template<typename T , typename = typename std::enable_if< std::is_class<T>::value>::type> | |
| operator T () const | |
Public Member Functions inherited from mxnet::runtime::MXNetPODValue_ | |
| 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... | |
Additional Inherited Members | |
Protected Member Functions inherited from mxnet::runtime::MXNetPODValue_ | |
| MXNetPODValue_ () | |
| MXNetPODValue_ (MXNetValue value, int type_code) | |
Protected Attributes inherited from mxnet::runtime::MXNetPODValue_ | |
| MXNetValue | value_ |
| The value. More... | |
| int | type_code_ |
| the type code More... | |
A single argument value to PackedFunc. Containing both type_code and MXNetValue.
Provides utilities to do type cast into other types.
|
inline |
default constructor
|
inline |
constructor
| value | of the function |
| type_code | The type code. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.13