Skip to content

Commit

Permalink
Merge pull request PaddlePaddle#60 from tink2123/api_doc
Browse files Browse the repository at this point in the history
update develop api_doc according paddle repo
  • Loading branch information
shanyi15 authored Sep 17, 2018
2 parents 1494775 + 7e5adce commit d16c5ca
Show file tree
Hide file tree
Showing 7 changed files with 125 additions and 291 deletions.
8 changes: 0 additions & 8 deletions doc/fluid/api/backward.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,3 @@ append_backward
.. autofunction:: paddle.fluid.backward.append_backward
:noindex:

.. _api_fluid_backward_calc_gradient:

calc_gradient
-------------

.. autofunction:: paddle.fluid.backward.calc_gradient
:noindex:

96 changes: 36 additions & 60 deletions doc/fluid/api/fluid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,6 @@
fluid
=====

.. _api_fluid_Block:

Block
-----

.. autoclass:: paddle.fluid.Block
:members:
:noindex:

.. _api_fluid_Variable:

Variable
--------

.. autoclass:: paddle.fluid.Variable
:members:
:noindex:

.. _api_fluid_Program:

Program
Expand All @@ -41,6 +23,15 @@ Operator
:members:
:noindex:

.. _api_fluid_Parameter:

Parameter
---------

.. autoclass:: paddle.fluid.Parameter
:members:
:noindex:

.. _api_fluid_default_startup_program:

default_startup_program
Expand Down Expand Up @@ -106,48 +97,6 @@ _switch_scope
.. autofunction:: paddle.fluid._switch_scope
:noindex:


.. _api_fluid_make_channel:

make_channel
------------

.. autofunction:: paddle.fluid.make_channel
:noindex:

.. _api_fluid_channel_send:

channel_send
------------

.. autofunction:: paddle.fluid.channel_send
:noindex:

.. _api_fluid_channel_recv:

channel_recv
------------

.. autofunction:: paddle.fluid.channel_recv
:noindex:

.. _api_fluid_channel_close:

channel_close
-------------

.. autofunction:: paddle.fluid.channel_close
:noindex:

.. _api_fluid_Select:

Select
------

.. autoclass:: paddle.fluid.Select
:members:
:noindex:

.. _api_fluid_Trainer:

Trainer
Expand Down Expand Up @@ -220,6 +169,15 @@ DistributeTranspiler
:members:
:noindex:

.. _api_fluid_InferenceTranspiler:

InferenceTranspiler
-------------------

.. autoclass:: paddle.fluid.InferenceTranspiler
:members:
:noindex:

.. _api_fluid_memory_optimize:

memory_optimize
Expand All @@ -236,6 +194,15 @@ release_memory
.. autofunction:: paddle.fluid.release_memory
:noindex:

.. _api_fluid_DistributeTranspilerConfig:

DistributeTranspilerConfig
--------------------------

.. autoclass:: paddle.fluid.DistributeTranspilerConfig
:members:
:noindex:

.. _api_fluid_ParallelExecutor:

ParallelExecutor
Expand Down Expand Up @@ -288,6 +255,15 @@ LoDTensor
:members:
:noindex:

.. _api_fluid_LoDTensorArray:

LoDTensorArray
--------------

.. autoclass:: paddle.fluid.LoDTensorArray
:members:
:noindex:

.. _api_fluid_CPUPlace:

CPUPlace
Expand Down
48 changes: 0 additions & 48 deletions doc/fluid/api/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,51 +77,3 @@ get_inference_program
.. autofunction:: paddle.fluid.io.get_inference_program
:noindex:

.. _api_fluid_io_save_checkpoint:

save_checkpoint
---------------

.. autofunction:: paddle.fluid.io.save_checkpoint
:noindex:

.. _api_fluid_io_load_checkpoint:

load_checkpoint
---------------

.. autofunction:: paddle.fluid.io.load_checkpoint
:noindex:

.. _api_fluid_io_clean_checkpoint:

clean_checkpoint
----------------

.. autofunction:: paddle.fluid.io.clean_checkpoint
:noindex:

.. _api_fluid_io_load_persist_vars_without_grad:

load_persist_vars_without_grad
------------------------------

.. autofunction:: paddle.fluid.io.load_persist_vars_without_grad
:noindex:

.. _api_fluid_io_save_persist_vars_without_grad:

save_persist_vars_without_grad
------------------------------

.. autofunction:: paddle.fluid.io.save_persist_vars_without_grad
:noindex:

.. _api_fluid_io_get_latest_checkpoint_serial:

get_latest_checkpoint_serial
----------------------------

.. autofunction:: paddle.fluid.io.get_latest_checkpoint_serial
:noindex:

Loading

0 comments on commit d16c5ca

Please sign in to comment.