提交 77179d8f 编写于 作者: Y yejianwu

update docs

上级 feacc76e
......@@ -58,7 +58,7 @@ Define the Ops registering function in `mace/ops/my_custom_op.cc`.
namespace mace {
namespace ops {
void Register_My_Custom_Op(OperatorRegistry *op_registry) {
void Register_My_Custom_Op(OperatorRegistryBase *op_registry) {
REGISTER_OPERATOR(op_registry, OpKeyBuilder("my_custom_op")
.Device(DeviceType::CPU)
.TypeConstraint<float>("T")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册