提交 764612fd 编写于 作者: T tianshuo78520a 提交者: Cheerego

fix fluid rst (#1042)

上级 5880ad2b
......@@ -5,12 +5,8 @@ fluid
.. toctree::
:maxdepth: 1
fluid/append_backward.rst
fluid/backward.rst
fluid/BuildStrategy.rst
fluid/clip.rst
fluid/CompiledProgram.rst
fluid/contrib.rst
fluid/cpu_places.rst
fluid/CPUPlace.rst
fluid/create_lod_tensor.rst
......@@ -23,43 +19,22 @@ fluid
fluid/DataFeeder.rst
fluid/default_main_program.rst
fluid/default_startup_program.rst
fluid/DistMultiTrainer.rst
fluid/DistributeTranspiler.rst
fluid/DistributeTranspilerConfig.rst
fluid/dygraph.rst
fluid/dygraph_grad_clip.rst
fluid/ExecutionStrategy.rst
fluid/Executor.rst
fluid/global_scope.rst
fluid/gradients.rst
fluid/HashName.rst
fluid/in_dygraph_mode.rst
fluid/initializer.rst
fluid/install_check.rst
fluid/io.rst
fluid/layers.rst
fluid/learning_rate_decay.rst
fluid/LoDTensor.rst
fluid/LoDTensorArray.rst
fluid/memory_optimize.rst
fluid/MultiTrainer.rst
fluid/name_scope.rst
fluid/nets.rst
fluid/optimizer.rst
fluid/ParallelExecutor.rst
fluid/ParamAttr.rst
fluid/PipelineTrainer.rst
fluid/profiler.rst
fluid/Program.rst
fluid/program_guard.rst
fluid/recordio_writer.rst
fluid/regularizer.rst
fluid/release_memory.rst
fluid/RoundRobin.rst
fluid/Scope.rst
fluid/scope_guard.rst
fluid/Tensor.rst
fluid/TrainerDesc.rst
fluid/transpiler.rst
fluid/unique_name.rst
fluid/WeightNormParamAttr.rst
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
!DO NOT EDIT THIS FILE MANUALLY!
......@@ -76,14 +76,14 @@ class DocGenerator(object):
def print_item(self, name):
item = getattr(self.module, name, None)
if item is None:
return
if isinstance(item, types.TypeType):
self.print_class(name)
elif isinstance(item, types.FunctionType):
self.print_method(name)
else:
pass
self.stream.close()
path = os.getcwd()+"/fluid/"+name+".rst"
os.remove(path)
def print_class(self, name):
self._print_ref_(name)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册