提交 c4d3fef1 编写于 作者: Y Yang Yang(Tony) 提交者: GitHub

update doc: no need to modify pybind_file

`paddle/operators/CMakeLists.txt` will automatically generate the bind.
上级 b9336e6f
...@@ -177,8 +177,6 @@ REGISTER_OP(op_type, op_class, op_maker_class, grad_op_type, grad_op_class) ...@@ -177,8 +177,6 @@ REGISTER_OP(op_type, op_class, op_maker_class, grad_op_type, grad_op_class)
REGISTER_OP_WITHOUT_GRADIENT(op_type, op_class, op_maker_class) REGISTER_OP_WITHOUT_GRADIENT(op_type, op_class, op_maker_class)
``` ```
### `USE` Macros
make sure the registration process is executed and linked.
--- ---
# Register Process # Register Process
...@@ -188,7 +186,7 @@ make sure the registration process is executed and linked. ...@@ -188,7 +186,7 @@ make sure the registration process is executed and linked.
1. call maker class to complete `proto` and `checker` 1. call maker class to complete `proto` and `checker`
2. with the completed `proto` and `checker`, build a new key-value pair in the `OpInfoMap` 2. with the completed `proto` and `checker`, build a new key-value pair in the `OpInfoMap`
4. Invoke `USE` macro in where the Op is used to make sure it is linked.
--- ---
# Backward Module (1/2) # Backward Module (1/2)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册