Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transpiler doc #11508

Merged
merged 5 commits into from
Jun 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/fluid/api/gen_doc.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
python gen_doc.py layers --submodules control_flow device io nn ops tensor detection learning_rate_scheduler metric > layers.rst

for module in data_feeder clip metrics executor initializer io nets optimizer param_attr profiler regularizer
for module in data_feeder clip metrics executor initializer io nets optimizer param_attr profiler regularizer transpiler
do
python gen_doc.py ${module} > ${module}.rst
done
46 changes: 46 additions & 0 deletions doc/fluid/api/transpiler.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!

==========
transpiler
==========

DistributeTranspiler
--------------------

.. autoclass:: paddle.fluid.transpiler.DistributeTranspiler
:members:
:noindex:

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

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

memory_optimize
---------------

.. autofunction:: paddle.fluid.transpiler.memory_optimize
:noindex:

release_memory
--------------

.. autofunction:: paddle.fluid.transpiler.release_memory
:noindex:

HashName
--------

.. autoclass:: paddle.fluid.transpiler.HashName
:members:
:noindex:

RoundRobin
----------

.. autoclass:: paddle.fluid.transpiler.RoundRobin
:members:
:noindex:
Loading