diff --git a/develop/doc/_sources/design/functions_operators_layers.md.txt b/develop/doc/_sources/design/functions_operators_layers.md.txt index 7a2e8fd0ace2e3f4462b15215de22c31e944b7cb..d23ba56b5773a36d448a99e4abdebc1475ed789c 100644 --- a/develop/doc/_sources/design/functions_operators_layers.md.txt +++ b/develop/doc/_sources/design/functions_operators_layers.md.txt @@ -86,12 +86,13 @@ 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: -``` + | 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: diff --git a/develop/doc/design/functions_operators_layers.html b/develop/doc/design/functions_operators_layers.html index f69b66038f29c8ed9e08bf78e11bc8a99dfa5d40..497b6be50dc450685d72365918f3808c49c4083d 100644 --- a/develop/doc/design/functions_operators_layers.html +++ b/develop/doc/design/functions_operators_layers.html @@ -245,12 +245,11 @@
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:
| C++ functions/functors | mul | add | | |
+| 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:
operators
are operators; whereasWe’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:
| C++ functions/functors | mul | add | | |
+| 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:
operators
are operators; whereas