A single argument value to PackedFunc. Containing both type_code and MXNetValue.
More...
#include <packed_func.h>
A single argument value to PackedFunc. Containing both type_code and MXNetValue.
Provides utilities to do type cast into other types.
◆ MXNetArgValue() [1/2]
mxnet::runtime::MXNetArgValue::MXNetArgValue |
( |
| ) |
|
|
inline |
◆ MXNetArgValue() [2/2]
mxnet::runtime::MXNetArgValue::MXNetArgValue |
( |
MXNetValue |
value, |
|
|
int |
type_code |
|
) |
| |
|
inline |
constructor
- Parameters
-
value | of the function |
type_code | The type code. |
◆ AsObjectRef()
template<typename TObjectRef >
TObjectRef mxnet::runtime::MXNetPODValue_::AsObjectRef |
( |
typename TObjectRef |
| ) |
|
|
inline |
◆ IsObjectRef()
template<typename TObjectRef , typename = typename std::enable_if<std::is_class<TObjectRef>::value>::type>
bool mxnet::runtime::MXNetPODValue_::IsObjectRef |
( |
typename TObjectRef |
, |
|
|
typename |
= typename std::enable_if<std::is_class<TObjectRef>::value>::type |
|
) |
| |
|
inline |
◆ operator DLDataType()
mxnet::runtime::MXNetArgValue::operator DLDataType |
( |
| ) |
const |
|
inline |
◆ operator MXNetDataType()
◆ operator std::string()
mxnet::runtime::MXNetArgValue::operator std::string |
( |
| ) |
const |
|
inline |
◆ operator T()
template<typename T , typename >
mxnet::runtime::MXNetArgValue::operator T |
|
inline |
◆ operator TypedPackedFunc< FType >()
template<typename FType >
◆ operator::mxnet::NDArray *()
mxnet::runtime::MXNetArgValue::operator::mxnet::NDArray * |
( |
| ) |
const |
|
inline |
◆ value()
const MXNetValue& mxnet::runtime::MXNetArgValue::value |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: