From 5cdaf71b40f7948ebae27f75c9b8a4b6eecc79f0 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 8 Sep 2017 02:21:38 +0000 Subject: [PATCH] Deploy to GitHub Pages: 7cae3adc68a54bc22422bea9ead911b64b0afdf1 --- .../doc/_sources/design/functions_operators_layers.md.txt | 5 +++-- develop/doc/design/functions_operators_layers.html | 7 +++---- .../_sources/design/functions_operators_layers.md.txt | 5 +++-- develop/doc_cn/design/functions_operators_layers.html | 7 +++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/develop/doc/_sources/design/functions_operators_layers.md.txt b/develop/doc/_sources/design/functions_operators_layers.md.txt index 7a2e8fd0ace..d23ba56b577 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 f69b66038f2..497b6be50dc 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 | -

-
+| Python function | | | | layer.fc |

This is how we differentiate layer and operators in PaddlePaddle: