mxnet
|
Type trait to specify special value conversion rules from MXNetArgValue and MXNetRetValue. More...
#include <packed_func.h>
Static Public Member Functions | |
static TObjectRef | From (const MXNetArgValue &val) |
Convert a TObjectRef from an argument value. More... | |
static TObjectRef | From (const MXNetRetValue &val) |
Convert a TObjectRef from a return value. More... | |
Type trait to specify special value conversion rules from MXNetArgValue and MXNetRetValue.
The trait can be specialized to add type specific conversion logic from the TVMArgvalue and TVMRetValue.
TObjectRef | the specific ObjectRefType. |
|
inlinestatic |
Convert a TObjectRef from an argument value.
val | The argument value. |
|
inlinestatic |
Convert a TObjectRef from a return value.
val | The argument value. |