#include <string>
#include <vector>
#include "packed_func.h"
Go to the source code of this file.
#define MXNET_ATTRIBUTE_UNUSED |
helper macro to supress unused warning
#define MXNET_REGISTER_GLOBAL |
( |
|
OpName | ) |
|
Value:#define MXNET_FUNC_REG_VAR_DEF
Definition: registry.h:297
static MXNET_DLL Registry & Register(const std::string &name, bool override=false)
Register a function with given name.
#define MXNET_STR_CONCAT(__x, __y)
Definition: registry.h:295
Register a function globally.
1 TVM_REGISTER_GLOBAL("MyPrint")
2 .set_body([](TVMArgs args, TVMRetValue* rv) {
#define MXNET_STR_CONCAT_ |
( |
|
__x, |
|
|
|
__y |
|
) |
| __x##__y |