diff --git a/.gitignore b/.gitignore index 8eee35c73afa647728ea7d5122fcc362454bb120..378cc88c9cc708fd797c97a91ca59f0d57bd570a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .env .DS_Store ._.DS_Store +*.mo diff --git a/source/api_reference/average.rst b/source/api_reference/average.rst new file mode 100644 index 0000000000000000000000000000000000000000..496f5b29875443f0c44f50fcb3ca837f4e7bcd12 --- /dev/null +++ b/source/api_reference/average.rst @@ -0,0 +1,16 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +============= +fluid.average +============= + +.. _api_fluid_average_WeightedAverage: + +WeightedAverage +--------------- + +.. autoclass:: paddle.fluid.average.WeightedAverage + :members: + :noindex: + diff --git a/source/api_reference/backward.rst b/source/api_reference/backward.rst new file mode 100644 index 0000000000000000000000000000000000000000..115e0d24b39928cfc349f72e0a21d6374cd8cd75 --- /dev/null +++ b/source/api_reference/backward.rst @@ -0,0 +1,23 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +============== +fluid.backward +============== + +.. _api_fluid_backward_append_backward: + +append_backward +--------------- + +.. autofunction:: paddle.fluid.backward.append_backward + :noindex: + +.. _api_fluid_backward_calc_gradient: + +calc_gradient +------------- + +.. autofunction:: paddle.fluid.backward.calc_gradient + :noindex: + diff --git a/source/api_reference/fluid.rst b/source/api_reference/fluid.rst index 4312737ee19441ffa25413f3c8397ada5fcebb3a..163ddb13a661cce928d74d3c2d409b861d040d48 100644 --- a/source/api_reference/fluid.rst +++ b/source/api_reference/fluid.rst @@ -65,6 +65,22 @@ program_guard .. autofunction:: paddle.fluid.program_guard :noindex: +.. _api_fluid_switch_startup_program: + +switch_startup_program +---------------------- + +.. autofunction:: paddle.fluid.switch_startup_program + :noindex: + +.. _api_fluid_switch_main_program: + +switch_main_program +------------------- + +.. autofunction:: paddle.fluid.switch_main_program + :noindex: + .. _api_fluid_get_var: get_var @@ -358,12 +374,3 @@ DataFeeder :members: :noindex: -.. _api_fluid_Scope: - -Scope ------ - -.. autoclass:: paddle.fluid.Scope - :members: - :noindex: - diff --git a/source/api_reference/gen_doc.sh b/source/api_reference/gen_doc.sh index bdc98afd9e1d5a7ccf9772d6c8cec68ff0193a3c..88f0fed33322e0b270d6b236472544a88b7205c3 100755 --- a/source/api_reference/gen_doc.sh +++ b/source/api_reference/gen_doc.sh @@ -1,7 +1,7 @@ #!/bin/bash python gen_doc.py layers --submodules control_flow device io nn ops tensor learning_rate_scheduler detection metric tensor > layers.rst -for module in data_feeder clip metrics executor initializer io nets optimizer param_attr profiler regularizer transpiler recordio_writer +for module in data_feeder clip metrics executor initializer io nets optimizer param_attr profiler regularizer transpiler recordio_writer backward average do python gen_doc.py ${module} > ${module}.rst done diff --git a/source/api_reference/layers.rst b/source/api_reference/layers.rst index c62947bbf8586e34186fcdb7a53e9d6cc4b1f932..7c7bd56eadb3f9bb87adac051b2694a8d6d74655 100644 --- a/source/api_reference/layers.rst +++ b/source/api_reference/layers.rst @@ -910,6 +910,14 @@ log .. autofunction:: paddle.fluid.layers.log :noindex: +.. _api_fluid_layers_crop: + +crop +---- + +.. autofunction:: paddle.fluid.layers.crop + :noindex: + ops === diff --git a/source/api_reference/optimizer.rst b/source/api_reference/optimizer.rst index 15a764d8e7b52c4a43508d838deb7057f5ff9ca2..a3bab24ce010d6b768e37b40783ea27037e62682 100644 --- a/source/api_reference/optimizer.rst +++ b/source/api_reference/optimizer.rst @@ -59,6 +59,15 @@ DecayedAdagrad :members: :noindex: +.. _api_fluid_optimizer_Ftrl: + +Ftrl +---- + +.. autoclass:: paddle.fluid.optimizer.Ftrl + :members: + :noindex: + .. _api_fluid_optimizer_SGDOptimizer: SGDOptimizer @@ -122,6 +131,15 @@ RMSPropOptimizer :members: :noindex: +.. _api_fluid_optimizer_FtrlOptimizer: + +FtrlOptimizer +------------- + +.. autoclass:: paddle.fluid.optimizer.FtrlOptimizer + :members: + :noindex: + .. _api_fluid_optimizer_Adadelta: Adadelta diff --git a/source/locale/en/LC_MESSAGES/index.po b/source/locale/en/LC_MESSAGES/index.po index 03fa1eb722751146c80a91521fdfb88a5a50d8bf..06ace94f6a47defdf53ae107c730b8ba62a0998f 100644 --- a/source/locale/en/LC_MESSAGES/index.po +++ b/source/locale/en/LC_MESSAGES/index.po @@ -4,23 +4,24 @@ # package. # FIRST AUTHOR , 2018. # -#, fuzzy msgid "" msgstr "" "Project-Id-Version: PaddlePaddle Fluid 0.13.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-06-14 18:52+0800\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" +"PO-Revision-Date: 2018-06-19 16:12+0800\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.6.0\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: en\n" +"X-Generator: Poedit 2.0.8\n" #: ../../source/index.rst:8 msgid "欢迎来到 Fluid" -msgstr "" +msgstr "Welcome to Fluid documentation" #: ../../source/index.rst:25 msgid "Indices and tables" @@ -37,4 +38,3 @@ msgstr "" #: ../../source/index.rst:29 msgid ":ref:`search`" msgstr "" -