#include <dmlc/base.h>
#include <dmlc/json.h>
#include <dmlc/logging.h>
#include <dmlc/registry.h>
#include <nnvm/node.h>
#include <vector>
#include <map>
#include <string>
#include <utility>
#include "./base.h"
#include "./resource.h"
#include "./op_attr_types.h"
Go to the source code of this file.
#define MXNET_REGISTER_OP_PROPERTY |
( |
|
name, |
|
|
|
OperatorPropertyType |
|
) |
| |
Value: .set_body([]() { return new OperatorPropertyType(); }) \
.set_return_type("NDArray-or-Symbol") \
.check_name()
Registry entry for OperatorProperty factory functions.
Definition: operator.h:453
Macro to register OperatorProperty.
1 // example of registering a fully connected operator
2 REGISTER_OP_PROPERTY(FullyConnected, FullyConnectedOpProp)
3 .describe("Fully connected layer");