mxnet
Classes | Functions
mxnet::runtime::detail Namespace Reference

Classes

struct  for_each_dispatcher
 
struct  for_each_dispatcher< true, I, F >
 
struct  MXNetValueCast
 
struct  typed_packed_call_dispatcher
 
struct  typed_packed_call_dispatcher< void >
 
struct  unpack_call_dispatcher
 
struct  unpack_call_dispatcher< R, 0, index, F >
 
struct  unpack_call_dispatcher< void, 0, index, F >
 

Functions

template<typename F , typename... Args>
void for_each (const F &f, Args &&...args)
 
template<typename R , int nargs, typename F >
void unpack_call (const F &f, const MXNetArgs &args, MXNetRetValue *rv)
 
template<typename R , typename... Args>
call_packed (const PackedFunc &pf, Args &&...args)
 

Function Documentation

template<typename R , typename... Args>
R mxnet::runtime::detail::call_packed ( const PackedFunc pf,
Args &&...  args 
)
inline
template<typename F , typename... Args>
void mxnet::runtime::detail::for_each ( const F &  f,
Args &&...  args 
)
inline
template<typename R , int nargs, typename F >
void mxnet::runtime::detail::unpack_call ( const F &  f,
const MXNetArgs args,
MXNetRetValue rv 
)
inline