diff --git a/doc/fluid/api/fluid.rst b/doc/fluid/api/fluid.rst index 85eca4e66a91d..b71e16719f1ac 100644 --- a/doc/fluid/api/fluid.rst +++ b/doc/fluid/api/fluid.rst @@ -5,8 +5,12 @@ 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 @@ -19,22 +23,44 @@ 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/is_compiled_with_cuda.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 diff --git a/doc/fluid/api/fluid/DistMultiTrainer.rst b/doc/fluid/api/fluid/DistMultiTrainer.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/DistMultiTrainer.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/HashName.rst b/doc/fluid/api/fluid/HashName.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/HashName.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/MultiTrainer.rst b/doc/fluid/api/fluid/MultiTrainer.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/MultiTrainer.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/PipelineTrainer.rst b/doc/fluid/api/fluid/PipelineTrainer.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/PipelineTrainer.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/RoundRobin.rst b/doc/fluid/api/fluid/RoundRobin.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/RoundRobin.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/Scope.rst b/doc/fluid/api/fluid/Scope.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/Scope.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/TrainerDesc.rst b/doc/fluid/api/fluid/TrainerDesc.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/TrainerDesc.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/append_backward.rst b/doc/fluid/api/fluid/append_backward.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/append_backward.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/backward.rst b/doc/fluid/api/fluid/backward.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/backward.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/clip.rst b/doc/fluid/api/fluid/clip.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/clip.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/contrib.rst b/doc/fluid/api/fluid/contrib.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/contrib.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/dygraph.rst b/doc/fluid/api/fluid/dygraph.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/dygraph.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/dygraph_grad_clip.rst b/doc/fluid/api/fluid/dygraph_grad_clip.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/dygraph_grad_clip.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/initializer.rst b/doc/fluid/api/fluid/initializer.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/initializer.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/install_check.rst b/doc/fluid/api/fluid/install_check.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/install_check.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/io.rst b/doc/fluid/api/fluid/io.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/io.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/is_compiled_with_cuda.rst b/doc/fluid/api/fluid/is_compiled_with_cuda.rst new file mode 100644 index 0000000000000..b95f2dc66f43e --- /dev/null +++ b/doc/fluid/api/fluid/is_compiled_with_cuda.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_is_compiled_with_cuda: + +is_compiled_with_cuda +--------------------- + +.. autofunction:: paddle.fluid.is_compiled_with_cuda + :noindex: + diff --git a/doc/fluid/api/fluid/layers.rst b/doc/fluid/api/fluid/layers.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/layers.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/learning_rate_decay.rst b/doc/fluid/api/fluid/learning_rate_decay.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/learning_rate_decay.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/nets.rst b/doc/fluid/api/fluid/nets.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/nets.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/optimizer.rst b/doc/fluid/api/fluid/optimizer.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/optimizer.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/profiler.rst b/doc/fluid/api/fluid/profiler.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/profiler.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/recordio_writer.rst b/doc/fluid/api/fluid/recordio_writer.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/recordio_writer.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/regularizer.rst b/doc/fluid/api/fluid/regularizer.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/regularizer.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/transpiler.rst b/doc/fluid/api/fluid/transpiler.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/transpiler.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/fluid/unique_name.rst b/doc/fluid/api/fluid/unique_name.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/fluid/unique_name.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/gen_doc.py b/doc/fluid/api/gen_doc.py index ec8c6cc16ae1c..6743b37c8e3fc 100644 --- a/doc/fluid/api/gen_doc.py +++ b/doc/fluid/api/gen_doc.py @@ -82,8 +82,8 @@ def print_item(self, name): self.print_method(name) else: self.stream.close() - path = os.getcwd()+"/fluid/"+name+".rst" - os.remove(path) + #path = os.getcwd()+"/fluid/"+name+".rst" + #os.remove(path) def print_class(self, name): self._print_ref_(name) diff --git a/doc/fluid/api/index_en.rst b/doc/fluid/api/index_en.rst index daac842198fb2..1685cd0f472bc 100644 --- a/doc/fluid/api/index_en.rst +++ b/doc/fluid/api/index_en.rst @@ -5,7 +5,7 @@ API Reference .. toctree:: :maxdepth: 1 - + ../flags_en.rst ../api_guides/index_en.rst fluid.rst average.rst diff --git a/doc/fluid/api/io.rst b/doc/fluid/api/io.rst index 75ba03e548d30..94b947f2f6bf5 100644 --- a/doc/fluid/api/io.rst +++ b/doc/fluid/api/io.rst @@ -5,12 +5,25 @@ fluid.io .. toctree:: :maxdepth: 1 + io/batch.rst + io/buffered.rst + io/cache.rst + io/chain.rst + io/compose.rst + io/ComposeNotAligned.rst + io/Fake.rst + io/firstn.rst io/load_inference_model.rst io/load_params.rst io/load_persistables.rst io/load_vars.rst + io/map_readers.rst + io/multiprocess_reader.rst + io/PipeReader.rst io/PyReader.rst io/save_inference_model.rst io/save_params.rst io/save_persistables.rst io/save_vars.rst + io/shuffle.rst + io/xmap_readers.rst diff --git a/doc/fluid/api/io/ComposeNotAligned.rst b/doc/fluid/api/io/ComposeNotAligned.rst new file mode 100644 index 0000000000000..3968d80ce3cc5 --- /dev/null +++ b/doc/fluid/api/io/ComposeNotAligned.rst @@ -0,0 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_io_ComposeNotAligned: + +ComposeNotAligned +----------------- + +.. autoclass:: paddle.fluid.io.ComposeNotAligned + :members: + :inherited-members: + :noindex: + diff --git a/doc/fluid/api/layers/Preprocessor.rst b/doc/fluid/api/io/Fake.rst similarity index 56% rename from doc/fluid/api/layers/Preprocessor.rst rename to doc/fluid/api/io/Fake.rst index 420e026b28042..c1efa2480423b 100644 --- a/doc/fluid/api/layers/Preprocessor.rst +++ b/doc/fluid/api/io/Fake.rst @@ -1,12 +1,12 @@ .. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` !DO NOT EDIT THIS FILE MANUALLY! -.. _api_fluid_layers_Preprocessor: +.. _api_fluid_io_Fake: -Preprocessor ------------- +Fake +---- -.. autoclass:: paddle.fluid.layers.Preprocessor +.. autoclass:: paddle.fluid.io.Fake :members: :inherited-members: :noindex: diff --git a/doc/fluid/api/io/PipeReader.rst b/doc/fluid/api/io/PipeReader.rst new file mode 100644 index 0000000000000..d1580be03c178 --- /dev/null +++ b/doc/fluid/api/io/PipeReader.rst @@ -0,0 +1,3 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + diff --git a/doc/fluid/api/layers/batch.rst b/doc/fluid/api/io/batch.rst similarity index 61% rename from doc/fluid/api/layers/batch.rst rename to doc/fluid/api/io/batch.rst index 6b44a8c3cc082..c11db6f81ff3d 100644 --- a/doc/fluid/api/layers/batch.rst +++ b/doc/fluid/api/io/batch.rst @@ -1,11 +1,11 @@ .. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` !DO NOT EDIT THIS FILE MANUALLY! -.. _api_fluid_layers_batch: +.. _api_fluid_io_batch: batch ----- -.. autofunction:: paddle.fluid.layers.batch +.. autofunction:: paddle.fluid.io.batch :noindex: diff --git a/doc/fluid/api/io/buffered.rst b/doc/fluid/api/io/buffered.rst new file mode 100644 index 0000000000000..125e100dd8eaa --- /dev/null +++ b/doc/fluid/api/io/buffered.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_io_buffered: + +buffered +-------- + +.. autofunction:: paddle.fluid.io.buffered + :noindex: + diff --git a/doc/fluid/api/io/cache.rst b/doc/fluid/api/io/cache.rst new file mode 100644 index 0000000000000..6da87c92eb773 --- /dev/null +++ b/doc/fluid/api/io/cache.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_io_cache: + +cache +----- + +.. autofunction:: paddle.fluid.io.cache + :noindex: + diff --git a/doc/fluid/api/io/chain.rst b/doc/fluid/api/io/chain.rst new file mode 100644 index 0000000000000..efc904b654206 --- /dev/null +++ b/doc/fluid/api/io/chain.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_io_chain: + +chain +----- + +.. autofunction:: paddle.fluid.io.chain + :noindex: + diff --git a/doc/fluid/api/io/compose.rst b/doc/fluid/api/io/compose.rst new file mode 100644 index 0000000000000..bac5affe50192 --- /dev/null +++ b/doc/fluid/api/io/compose.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_io_compose: + +compose +------- + +.. autofunction:: paddle.fluid.io.compose + :noindex: + diff --git a/doc/fluid/api/io/firstn.rst b/doc/fluid/api/io/firstn.rst new file mode 100644 index 0000000000000..512dab717dbba --- /dev/null +++ b/doc/fluid/api/io/firstn.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_io_firstn: + +firstn +------ + +.. autofunction:: paddle.fluid.io.firstn + :noindex: + diff --git a/doc/fluid/api/io/map_readers.rst b/doc/fluid/api/io/map_readers.rst new file mode 100644 index 0000000000000..5e7558baf1efe --- /dev/null +++ b/doc/fluid/api/io/map_readers.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_io_map_readers: + +map_readers +----------- + +.. autofunction:: paddle.fluid.io.map_readers + :noindex: + diff --git a/doc/fluid/api/io/multiprocess_reader.rst b/doc/fluid/api/io/multiprocess_reader.rst new file mode 100644 index 0000000000000..24b2a3bd564a1 --- /dev/null +++ b/doc/fluid/api/io/multiprocess_reader.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_io_multiprocess_reader: + +multiprocess_reader +------------------- + +.. autofunction:: paddle.fluid.io.multiprocess_reader + :noindex: + diff --git a/doc/fluid/api/layers/shuffle.rst b/doc/fluid/api/io/shuffle.rst similarity index 60% rename from doc/fluid/api/layers/shuffle.rst rename to doc/fluid/api/io/shuffle.rst index 11bbb2d3f679b..dccf6d5c6b53b 100644 --- a/doc/fluid/api/layers/shuffle.rst +++ b/doc/fluid/api/io/shuffle.rst @@ -1,11 +1,11 @@ .. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` !DO NOT EDIT THIS FILE MANUALLY! -.. _api_fluid_layers_shuffle: +.. _api_fluid_io_shuffle: shuffle ------- -.. autofunction:: paddle.fluid.layers.shuffle +.. autofunction:: paddle.fluid.io.shuffle :noindex: diff --git a/doc/fluid/api/io/xmap_readers.rst b/doc/fluid/api/io/xmap_readers.rst new file mode 100644 index 0000000000000..77b3e78993974 --- /dev/null +++ b/doc/fluid/api/io/xmap_readers.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_io_xmap_readers: + +xmap_readers +------------ + +.. autofunction:: paddle.fluid.io.xmap_readers + :noindex: + diff --git a/doc/fluid/api/layers.rst b/doc/fluid/api/layers.rst index b3870cd9bc333..9421484cb54ab 100644 --- a/doc/fluid/api/layers.rst +++ b/doc/fluid/api/layers.rst @@ -25,7 +25,6 @@ fluid.layers layers/atan.rst layers/auc.rst layers/autoincreased_step_counter.rst - layers/batch.rst layers/batch_norm.rst layers/beam_search.rst layers/beam_search_decode.rst @@ -38,6 +37,7 @@ fluid.layers layers/brelu.rst layers/cast.rst layers/ceil.rst + layers/center_loss.rst layers/chunk_eval.rst layers/clip.rst layers/clip_by_norm.rst @@ -71,7 +71,6 @@ fluid.layers layers/diag.rst layers/dice_loss.rst layers/distribute_fpn_proposals.rst - layers/double_buffer.rst layers/dropout.rst layers/dynamic_gru.rst layers/dynamic_lstm.rst @@ -93,9 +92,11 @@ fluid.layers layers/exp.rst layers/expand.rst layers/exponential_decay.rst + layers/eye.rst layers/fc.rst layers/fill_constant.rst layers/fill_constant_batch_size_like.rst + layers/filter_by_instag.rst layers/flatten.rst layers/floor.rst layers/fsp_matrix.rst @@ -113,6 +114,7 @@ fluid.layers layers/gru_unit.rst layers/hard_shrink.rst layers/hard_sigmoid.rst + layers/hard_swish.rst layers/has_inf.rst layers/has_nan.rst layers/hash.rst @@ -138,6 +140,7 @@ fluid.layers layers/linear_lr_warmup.rst layers/linspace.rst layers/load.rst + layers/lod_append.rst layers/lod_reset.rst layers/log.rst layers/log_loss.rst @@ -150,6 +153,7 @@ fluid.layers layers/lstm.rst layers/lstm_unit.rst layers/margin_rank_loss.rst + layers/match_matrix_tensor.rst layers/matmul.rst layers/maxout.rst layers/mean.rst @@ -162,11 +166,12 @@ fluid.layers layers/natural_exp_decay.rst layers/nce.rst layers/noam_decay.rst + layers/Normal.rst layers/not_equal.rst layers/npair_loss.rst layers/one_hot.rst layers/ones.rst - layers/open_files.rst + layers/ones_like.rst layers/pad.rst layers/pad2d.rst layers/pad_constant_like.rst @@ -178,18 +183,15 @@ fluid.layers layers/pool3d.rst layers/pow.rst layers/prelu.rst - layers/Preprocessor.rst layers/Print.rst layers/prior_box.rst layers/psroi_pool.rst layers/py_func.rst layers/py_reader.rst layers/random_crop.rst - layers/random_data_generator.rst layers/range.rst layers/rank.rst layers/rank_loss.rst - layers/read_file.rst layers/reciprocal.rst layers/reduce_all.rst layers/reduce_any.rst @@ -204,6 +206,7 @@ fluid.layers layers/reshape.rst layers/resize_bilinear.rst layers/resize_nearest.rst + layers/resize_trilinear.rst layers/retinanet_detection_output.rst layers/retinanet_target_assign.rst layers/reverse.rst @@ -236,7 +239,7 @@ fluid.layers layers/sequence_softmax.rst layers/sequence_unpad.rst layers/shape.rst - layers/shuffle.rst + layers/shard_index.rst layers/shuffle_channel.rst layers/sigmoid.rst layers/sigmoid_cross_entropy_with_logits.rst @@ -244,6 +247,7 @@ fluid.layers layers/sign.rst layers/similarity_focus.rst layers/sin.rst + layers/size.rst layers/slice.rst layers/smooth_l1.rst layers/soft_relu.rst @@ -277,10 +281,15 @@ fluid.layers layers/topk.rst layers/transpose.rst layers/tree_conv.rst + layers/unfold.rst + layers/Uniform.rst layers/uniform_random.rst layers/uniform_random_batch_size_like.rst + layers/unique.rst + layers/unique_with_counts.rst layers/unsqueeze.rst layers/unstack.rst + layers/var_conv_2d.rst layers/warpctc.rst layers/where.rst layers/While.rst diff --git a/doc/fluid/api/layers/Normal.rst b/doc/fluid/api/layers/Normal.rst new file mode 100644 index 0000000000000..5e162989fda66 --- /dev/null +++ b/doc/fluid/api/layers/Normal.rst @@ -0,0 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_Normal: + +Normal +------ + +.. autoclass:: paddle.fluid.layers.Normal + :members: + :inherited-members: + :noindex: + diff --git a/doc/fluid/api/layers/Uniform.rst b/doc/fluid/api/layers/Uniform.rst new file mode 100644 index 0000000000000..268363a5a07ac --- /dev/null +++ b/doc/fluid/api/layers/Uniform.rst @@ -0,0 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_Uniform: + +Uniform +------- + +.. autoclass:: paddle.fluid.layers.Uniform + :members: + :inherited-members: + :noindex: + diff --git a/doc/fluid/api/layers/center_loss.rst b/doc/fluid/api/layers/center_loss.rst new file mode 100644 index 0000000000000..1ec5393b763d6 --- /dev/null +++ b/doc/fluid/api/layers/center_loss.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_center_loss: + +center_loss +----------- + +.. autofunction:: paddle.fluid.layers.center_loss + :noindex: + diff --git a/doc/fluid/api/layers/eye.rst b/doc/fluid/api/layers/eye.rst new file mode 100644 index 0000000000000..4b6db75d8ac2c --- /dev/null +++ b/doc/fluid/api/layers/eye.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_eye: + +eye +--- + +.. autofunction:: paddle.fluid.layers.eye + :noindex: + diff --git a/doc/fluid/api/layers/filter_by_instag.rst b/doc/fluid/api/layers/filter_by_instag.rst new file mode 100644 index 0000000000000..c4f4a04180eee --- /dev/null +++ b/doc/fluid/api/layers/filter_by_instag.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_filter_by_instag: + +filter_by_instag +---------------- + +.. autofunction:: paddle.fluid.layers.filter_by_instag + :noindex: + diff --git a/doc/fluid/api/layers/open_files.rst b/doc/fluid/api/layers/hard_swish.rst similarity index 54% rename from doc/fluid/api/layers/open_files.rst rename to doc/fluid/api/layers/hard_swish.rst index dc64e9eacc04f..f0cb342fb46c0 100644 --- a/doc/fluid/api/layers/open_files.rst +++ b/doc/fluid/api/layers/hard_swish.rst @@ -1,11 +1,11 @@ .. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` !DO NOT EDIT THIS FILE MANUALLY! -.. _api_fluid_layers_open_files: +.. _api_fluid_layers_hard_swish: -open_files +hard_swish ---------- -.. autofunction:: paddle.fluid.layers.open_files +.. autofunction:: paddle.fluid.layers.hard_swish :noindex: diff --git a/doc/fluid/api/layers/lod_append.rst b/doc/fluid/api/layers/lod_append.rst new file mode 100644 index 0000000000000..191a8ce567608 --- /dev/null +++ b/doc/fluid/api/layers/lod_append.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_lod_append: + +lod_append +---------- + +.. autofunction:: paddle.fluid.layers.lod_append + :noindex: + diff --git a/doc/fluid/api/layers/match_matrix_tensor.rst b/doc/fluid/api/layers/match_matrix_tensor.rst new file mode 100644 index 0000000000000..8f64af7b5b774 --- /dev/null +++ b/doc/fluid/api/layers/match_matrix_tensor.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_match_matrix_tensor: + +match_matrix_tensor +------------------- + +.. autofunction:: paddle.fluid.layers.match_matrix_tensor + :noindex: + diff --git a/doc/fluid/api/layers/ones_like.rst b/doc/fluid/api/layers/ones_like.rst new file mode 100644 index 0000000000000..4546a342b7295 --- /dev/null +++ b/doc/fluid/api/layers/ones_like.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_ones_like: + +ones_like +--------- + +.. autofunction:: paddle.fluid.layers.ones_like + :noindex: + diff --git a/doc/fluid/api/layers/random_data_generator.rst b/doc/fluid/api/layers/random_data_generator.rst deleted file mode 100644 index d2ca994fda0e1..0000000000000 --- a/doc/fluid/api/layers/random_data_generator.rst +++ /dev/null @@ -1,11 +0,0 @@ -.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` - !DO NOT EDIT THIS FILE MANUALLY! - -.. _api_fluid_layers_random_data_generator: - -random_data_generator ---------------------- - -.. autofunction:: paddle.fluid.layers.random_data_generator - :noindex: - diff --git a/doc/fluid/api/layers/resize_trilinear.rst b/doc/fluid/api/layers/resize_trilinear.rst new file mode 100644 index 0000000000000..ed797a528dfcc --- /dev/null +++ b/doc/fluid/api/layers/resize_trilinear.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_resize_trilinear: + +resize_trilinear +---------------- + +.. autofunction:: paddle.fluid.layers.resize_trilinear + :noindex: + diff --git a/doc/fluid/api/layers/shard_index.rst b/doc/fluid/api/layers/shard_index.rst new file mode 100644 index 0000000000000..ecc8ca13ed3d5 --- /dev/null +++ b/doc/fluid/api/layers/shard_index.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_shard_index: + +shard_index +----------- + +.. autofunction:: paddle.fluid.layers.shard_index + :noindex: + diff --git a/doc/fluid/api/layers/size.rst b/doc/fluid/api/layers/size.rst new file mode 100644 index 0000000000000..0216b9d8c8421 --- /dev/null +++ b/doc/fluid/api/layers/size.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_size: + +size +---- + +.. autofunction:: paddle.fluid.layers.size + :noindex: + diff --git a/doc/fluid/api/layers/unfold.rst b/doc/fluid/api/layers/unfold.rst new file mode 100644 index 0000000000000..70f5d09bb1f2d --- /dev/null +++ b/doc/fluid/api/layers/unfold.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_unfold: + +unfold +------ + +.. autofunction:: paddle.fluid.layers.unfold + :noindex: + diff --git a/doc/fluid/api/layers/unique.rst b/doc/fluid/api/layers/unique.rst new file mode 100644 index 0000000000000..2b872e8685ea6 --- /dev/null +++ b/doc/fluid/api/layers/unique.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_unique: + +unique +------ + +.. autofunction:: paddle.fluid.layers.unique + :noindex: + diff --git a/doc/fluid/api/layers/unique_with_counts.rst b/doc/fluid/api/layers/unique_with_counts.rst new file mode 100644 index 0000000000000..a758df1286b47 --- /dev/null +++ b/doc/fluid/api/layers/unique_with_counts.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_unique_with_counts: + +unique_with_counts +------------------ + +.. autofunction:: paddle.fluid.layers.unique_with_counts + :noindex: + diff --git a/doc/fluid/api/layers/var_conv_2d.rst b/doc/fluid/api/layers/var_conv_2d.rst new file mode 100644 index 0000000000000..1edcb0aec9c3e --- /dev/null +++ b/doc/fluid/api/layers/var_conv_2d.rst @@ -0,0 +1,11 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_layers_var_conv_2d: + +var_conv_2d +----------- + +.. autofunction:: paddle.fluid.layers.var_conv_2d + :noindex: + diff --git a/external/Paddle b/external/Paddle index 3fdecc19b7350..0fe72469ea842 160000 --- a/external/Paddle +++ b/external/Paddle @@ -1 +1 @@ -Subproject commit 3fdecc19b7350b15be8724de44f360bf8c33bdae +Subproject commit 0fe72469ea84295d02561e9d9709d96ab0584026