diff --git a/doc/design/layers_operators.md b/doc/design/layers_operators.md index cda99888bea6d70bb5a05ec020469b7aef3f27ef..131effbccff5da7da2d80b3662e1131571e17d1a 100644 --- a/doc/design/layers_operators.md +++ b/doc/design/layers_operators.md @@ -72,12 +72,12 @@ def layer.fc(X): We'd like to have Python bindings to operators in package `paddle.operator`, and Python compositions of operators in package `paddle.layer`. So we have the following concepts in above illustrative example: -| implementation | mul | add | fc | fc | ---------------------------------------------------------------------------------- +``` | C++ functions/functors | mul | add | | | | C++ operator class | mulOp | addOp | FCOp | | | Python binding | operator.mul | operator.add | operator.fc | | | Python function | | | | layer.fc | +``` This is how we differentiate layer and operators in PaddlePaddle: