mxnet
Static Public Attributes | List of all members
mxnet::runtime::extension_type_info< T > Struct Template Reference

Type traits to mark if a class is tvm extension type. More...

#include <packed_func.h>

Collaboration diagram for mxnet::runtime::extension_type_info< T >:
Collaboration graph

Static Public Attributes

static const int code = 0
 

Detailed Description

template<typename T>
struct mxnet::runtime::extension_type_info< T >

Type traits to mark if a class is tvm extension type.

To enable extension type in C++ must be registered via marco. TVM_REGISTER_EXT_TYPE(TypeName) after defining this with this traits.

Extension class can be passed and returned via PackedFunc in all tvm runtime. Internally extension class is stored as T*.

Template Parameters
Tthe typename

Member Data Documentation

template<typename T >
const int mxnet::runtime::extension_type_info< T >::code = 0
static

The documentation for this struct was generated from the following file: