From 6cea69f976f6bcf2a80ddfa117d24730936906f0 Mon Sep 17 00:00:00 2001 From: LielinJiang Date: Fri, 28 Aug 2020 12:13:42 +0000 Subject: [PATCH] summary --- doc/fluid/api/dataset.rst | 2 +- doc/fluid/api/dygraph.rst | 9 ++- doc/fluid/api/dygraph/InstanceNorm.rst | 2 +- doc/fluid/api/dygraph/grad.rst | 4 +- doc/fluid/api/dygraph/no_grad.rst | 8 --- doc/fluid/api/fluid.rst | 4 ++ doc/fluid/api/framework.rst | 66 +++++++++++-------- doc/fluid/api/framework/Program.rst | 12 +++- doc/fluid/api/framework/Variable.rst | 12 +++- .../api/framework/default_main_program.rst | 10 ++- .../api/framework/default_startup_program.rst | 10 ++- doc/fluid/api/framework/name_scope.rst | 10 ++- doc/fluid/api/framework/program_guard.rst | 10 ++- doc/fluid/api/gen_doc.py | 2 +- doc/fluid/api/gen_doc.sh | 46 ++++++------- doc/fluid/api/incubate.rst | 8 +++ doc/fluid/api/incubate/hapi.rst | 8 +++ doc/fluid/api/incubate/hapi/utils.rst | 8 +++ doc/fluid/api/incubate/hapi/utils/summary.rst | 10 +++ doc/fluid/api/index_en.rst | 10 +-- doc/fluid/api/initializer.rst | 1 + doc/fluid/api/io.rst | 6 +- doc/fluid/api/layers.rst | 8 ++- doc/fluid/api/layers/matrix_nms.rst | 2 +- doc/fluid/api/nn/BatchNorm.rst | 10 ++- doc/fluid/api/nn/BilinearTensorProduct.rst | 10 ++- doc/fluid/api/nn/ConstantPad1d.rst | 10 ++- doc/fluid/api/nn/ConstantPad2d.rst | 10 ++- doc/fluid/api/nn/ConstantPad3d.rst | 10 ++- doc/fluid/api/nn/CosineSimilarity.rst | 10 ++- doc/fluid/api/nn/Embedding.rst | 10 ++- doc/fluid/api/nn/GroupNorm.rst | 10 ++- doc/fluid/api/nn/LayerNorm.rst | 10 ++- doc/fluid/api/nn/Linear.rst | 10 ++- doc/fluid/api/nn/Pool2D.rst | 10 ++- doc/fluid/api/nn/ReflectionPad1d.rst | 10 ++- doc/fluid/api/nn/ReflectionPad2d.rst | 10 ++- doc/fluid/api/nn/ReplicationPad1d.rst | 10 ++- doc/fluid/api/nn/ReplicationPad2d.rst | 10 ++- doc/fluid/api/nn/ReplicationPad3d.rst | 10 ++- doc/fluid/api/nn/SpectralNorm.rst | 10 ++- doc/fluid/api/nn/ZeroPad2d.rst | 10 ++- doc/fluid/api/nn/activation.rst | 2 +- doc/fluid/api/nn/add_position_encoding.rst | 7 -- doc/fluid/api/nn/continuous_value_model.rst | 7 -- doc/fluid/api/nn/filter_by_instag.rst | 7 -- .../nn/functional/binary_cross_entropy.rst | 4 +- doc/fluid/api/nn/functional/l1_loss.rst | 11 ++-- doc/fluid/api/nn/functional/mse_loss.rst | 11 ++-- doc/fluid/api/nn/functional/nll_loss.rst | 11 ++-- doc/fluid/api/nn/loss/BCELoss.rst | 2 +- doc/fluid/api/nn/loss/NLLLoss.rst | 2 +- doc/fluid/api/nn/multiclass_nms.rst | 7 -- doc/fluid/api/nn/polygon_box_transform.rst | 7 -- doc/fluid/api/nn/random_crop.rst | 7 -- doc/fluid/api/nn/row_conv.rst | 7 -- doc/fluid/api/nn/rpn_target_assign.rst | 7 -- doc/fluid/api/nn/similarity_focus.rst | 7 -- doc/fluid/api/nn/target_assign.rst | 7 -- doc/fluid/api/nn/temporal_shift.rst | 7 -- doc/fluid/api/nn/warpctc.rst | 7 -- doc/fluid/api/optimizer.rst | 3 +- doc/fluid/api/tensor.rst | 9 ++- doc/fluid/api/tensor/linalg.rst | 9 +++ doc/fluid/api/tensor/linalg/dist.rst | 2 +- doc/fluid/api/tensor/math.rst | 50 ++++++++++++-- doc/fluid/api/tensor/math/mul.rst | 8 --- doc/fluid/api/tensor/math/sign.rst | 3 +- doc/fluid/api/tensor/mul.rst | 7 -- doc/fluid/api/tensor/random.rst | 2 + doc/fluid/api/tensor/random/uniform.rst | 1 + doc/fluid/api/transpiler.rst | 1 + 72 files changed, 411 insertions(+), 259 deletions(-) create mode 100644 doc/fluid/api/incubate.rst create mode 100644 doc/fluid/api/incubate/hapi.rst create mode 100644 doc/fluid/api/incubate/hapi/utils.rst create mode 100644 doc/fluid/api/incubate/hapi/utils/summary.rst delete mode 100644 doc/fluid/api/nn/add_position_encoding.rst delete mode 100644 doc/fluid/api/nn/continuous_value_model.rst delete mode 100644 doc/fluid/api/nn/filter_by_instag.rst delete mode 100644 doc/fluid/api/nn/multiclass_nms.rst delete mode 100644 doc/fluid/api/nn/polygon_box_transform.rst delete mode 100644 doc/fluid/api/nn/random_crop.rst delete mode 100644 doc/fluid/api/nn/row_conv.rst delete mode 100644 doc/fluid/api/nn/rpn_target_assign.rst delete mode 100644 doc/fluid/api/nn/similarity_focus.rst delete mode 100644 doc/fluid/api/nn/target_assign.rst delete mode 100644 doc/fluid/api/nn/temporal_shift.rst delete mode 100644 doc/fluid/api/nn/warpctc.rst delete mode 100644 doc/fluid/api/tensor/mul.rst diff --git a/doc/fluid/api/dataset.rst b/doc/fluid/api/dataset.rst index f86bb2063..a8b6bcab2 100644 --- a/doc/fluid/api/dataset.rst +++ b/doc/fluid/api/dataset.rst @@ -1,5 +1,5 @@ ============= -paddle.dataset +fluid.dataset ============= .. toctree:: diff --git a/doc/fluid/api/dygraph.rst b/doc/fluid/api/dygraph.rst index 397419a8b..2364ee114 100644 --- a/doc/fluid/api/dygraph.rst +++ b/doc/fluid/api/dygraph.rst @@ -5,6 +5,8 @@ fluid.dygraph .. toctree:: :maxdepth: 1 + dygraph/amp_guard.rst + dygraph/AmpScaler.rst dygraph/BackwardStrategy.rst dygraph/BatchNorm.rst dygraph/BilinearTensorProduct.rst @@ -25,18 +27,24 @@ fluid.dygraph dygraph/enable_dygraph.rst dygraph/enabled.rst dygraph/ExponentialDecay.rst + dygraph/Flatten.rst dygraph/grad.rst dygraph/GroupNorm.rst + dygraph/GRUCell.rst dygraph/GRUUnit.rst dygraph/guard.rst dygraph/InstanceNorm.rst dygraph/InverseTimeDecay.rst dygraph/jit.rst + dygraph/LambdaDecay.rst dygraph/Layer.rst dygraph/LayerList.rst dygraph/LayerNorm.rst dygraph/Linear.rst + dygraph/LinearLrWarmup.rst dygraph/load_dygraph.rst + dygraph/LSTMCell.rst + dygraph/MultiStepDecay.rst dygraph/NaturalExpDecay.rst dygraph/NCE.rst dygraph/no_grad.rst @@ -48,7 +56,6 @@ fluid.dygraph dygraph/Pool2D.rst dygraph/PRelu.rst dygraph/prepare_context.rst - dygraph/ProgramTranslator.rst dygraph/ReduceLROnPlateau.rst dygraph/save_dygraph.rst dygraph/Sequential.rst diff --git a/doc/fluid/api/dygraph/InstanceNorm.rst b/doc/fluid/api/dygraph/InstanceNorm.rst index 2e09ea975..548185e89 100644 --- a/doc/fluid/api/dygraph/InstanceNorm.rst +++ b/doc/fluid/api/dygraph/InstanceNorm.rst @@ -4,7 +4,7 @@ .. _api_fluid_dygraph_InstanceNorm: InstanceNorm ---------- +------------ .. autoclass:: paddle.fluid.dygraph.InstanceNorm :members: diff --git a/doc/fluid/api/dygraph/grad.rst b/doc/fluid/api/dygraph/grad.rst index 019736602..fb697aaf1 100644 --- a/doc/fluid/api/dygraph/grad.rst +++ b/doc/fluid/api/dygraph/grad.rst @@ -1,11 +1,11 @@ .. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` !DO NOT EDIT THIS FILE MANUALLY! -.. _api_paddle_grad: +.. _api_fluid_dygraph_grad: grad ---- -.. autofunction:: paddle.grad +.. autofunction:: paddle.fluid.dygraph.grad :noindex: diff --git a/doc/fluid/api/dygraph/no_grad.rst b/doc/fluid/api/dygraph/no_grad.rst index 47e0d3da7..d1580be03 100644 --- a/doc/fluid/api/dygraph/no_grad.rst +++ b/doc/fluid/api/dygraph/no_grad.rst @@ -1,11 +1,3 @@ .. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` !DO NOT EDIT THIS FILE MANUALLY! -.. _api_fluid_dygraph_no_grad: - -no_grad -------- - -.. autofunction:: paddle.fluid.dygraph.no_grad - :noindex: - diff --git a/doc/fluid/api/fluid.rst b/doc/fluid/api/fluid.rst index 1440d541e..20be37052 100644 --- a/doc/fluid/api/fluid.rst +++ b/doc/fluid/api/fluid.rst @@ -23,10 +23,12 @@ fluid fluid/default_startup_program.rst fluid/device_guard.rst fluid/disable_dygraph.rst + fluid/disable_imperative.rst fluid/DistributeTranspiler.rst fluid/DistributeTranspilerConfig.rst fluid/embedding.rst fluid/enable_dygraph.rst + fluid/enable_imperative.rst fluid/ExecutionStrategy.rst fluid/Executor.rst fluid/get_flags.rst @@ -34,6 +36,7 @@ fluid fluid/gradients.rst fluid/in_dygraph_mode.rst fluid/is_compiled_with_cuda.rst + fluid/is_compiled_with_xpu.rst fluid/load.rst fluid/load_op_library.rst fluid/LoDTensor.rst @@ -53,3 +56,4 @@ fluid fluid/Tensor.rst fluid/Variable.rst fluid/WeightNormParamAttr.rst + fluid/XPUPlace.rst diff --git a/doc/fluid/api/framework.rst b/doc/fluid/api/framework.rst index f95b77c5c..51fb956cb 100644 --- a/doc/fluid/api/framework.rst +++ b/doc/fluid/api/framework.rst @@ -1,31 +1,43 @@ -======================= +================ paddle.framework -======================= +================ .. toctree:: - :maxdepth: 1 + :maxdepth: 1 - framework/append_backward.rst - framework/BuildStrategy.rst - framework/CompiledProgram.rst - framework/CPUPlace.rst - framework/create_global_var.rst - framework/create_parameter.rst - framework/CUDAPinnedPlace.rst - framework/CUDAPlace.rst - framework/default_main_program.rst - framework/default_startup_program.rst - framework/ExecutionStrateg y.rst - framework/Executor.rst - framework/global_scope.rst - framework/gradients.rst - framework/name_scope.rst - framework/ParallelExecutor.rst - framework/ParamAttr.rst - framework/Print.rst - framework/Program.rst - framework/program_guard.rst - framework/py_func.rst - framework/scope_guard.rst - framework/Variable.rst - framework/WeightNormParamAttr.rst + framework/append_backward.rst + framework/BuildStrategy.rst + framework/CompiledProgram.rst + framework/ComplexVariable.rst + framework/cpu_places.rst + framework/CPUPlace.rst + framework/create_global_var.rst + framework/create_parameter.rst + framework/cuda_pinned_places.rst + framework/cuda_places.rst + framework/CUDAPinnedPlace.rst + framework/CUDAPlace.rst + framework/default_main_program.rst + framework/default_startup_program.rst + framework/device_guard.rst + framework/ExecutionStrateg y.rst + framework/Executor.rst + framework/get_flags.rst + framework/global_scope.rst + framework/gradients.rst + framework/in_dygraph_mode.rst + framework/is_compiled_with_cuda.rst + framework/is_compiled_with_xpu.rst + framework/load_op_library.rst + framework/name_scope.rst + framework/ParallelExecutor.rst + framework/ParamAttr.rst + framework/Print.rst + framework/Program.rst + framework/program_guard.rst + framework/py_func.rst + framework/require_version.rst + framework/scope_guard.rst + framework/set_flags.rst + framework/Variable.rst + framework/WeightNormParamAttr.rst diff --git a/doc/fluid/api/framework/Program.rst b/doc/fluid/api/framework/Program.rst index f118dc601..8ab081eb5 100644 --- a/doc/fluid/api/framework/Program.rst +++ b/doc/fluid/api/framework/Program.rst @@ -1,7 +1,13 @@ -.. _api_framework_Program: +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_framework_Program: Program -------------------------------- -:doc_source: paddle.fluid.framework.Program +------- +.. autoclass:: paddle.fluid.framework.Program + :members: + :inherited-members: + :noindex: diff --git a/doc/fluid/api/framework/Variable.rst b/doc/fluid/api/framework/Variable.rst index f25d40720..1749ec2fd 100644 --- a/doc/fluid/api/framework/Variable.rst +++ b/doc/fluid/api/framework/Variable.rst @@ -1,7 +1,13 @@ -.. _api_framework_Variable: +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_framework_Variable: Variable -------------------------------- -:doc_source: paddle.fluid.framework.Variable +-------- +.. autoclass:: paddle.fluid.framework.Variable + :members: + :inherited-members: + :noindex: diff --git a/doc/fluid/api/framework/default_main_program.rst b/doc/fluid/api/framework/default_main_program.rst index 774845e79..e667a386d 100644 --- a/doc/fluid/api/framework/default_main_program.rst +++ b/doc/fluid/api/framework/default_main_program.rst @@ -1,7 +1,11 @@ -.. _api_framework_default_main_program: +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_framework_default_main_program: default_main_program -------------------------------- -:doc_source: paddle.fluid.framework.default_main_program +-------------------- +.. autofunction:: paddle.fluid.framework.default_main_program + :noindex: diff --git a/doc/fluid/api/framework/default_startup_program.rst b/doc/fluid/api/framework/default_startup_program.rst index 72872cc3a..f6545f2b6 100644 --- a/doc/fluid/api/framework/default_startup_program.rst +++ b/doc/fluid/api/framework/default_startup_program.rst @@ -1,7 +1,11 @@ -.. _api_framework_default_startup_program: +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_framework_default_startup_program: default_startup_program -------------------------------- -:doc_source: paddle.fluid.framework.default_startup_program +----------------------- +.. autofunction:: paddle.fluid.framework.default_startup_program + :noindex: diff --git a/doc/fluid/api/framework/name_scope.rst b/doc/fluid/api/framework/name_scope.rst index 616c4cd67..1f8911a12 100644 --- a/doc/fluid/api/framework/name_scope.rst +++ b/doc/fluid/api/framework/name_scope.rst @@ -1,7 +1,11 @@ -.. _api_framework_name_scope: +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_framework_name_scope: name_scope -------------------------------- -:doc_source: paddle.fluid.framework.name_scope +---------- +.. autofunction:: paddle.fluid.framework.name_scope + :noindex: diff --git a/doc/fluid/api/framework/program_guard.rst b/doc/fluid/api/framework/program_guard.rst index d68a50af2..eb06d9e6a 100644 --- a/doc/fluid/api/framework/program_guard.rst +++ b/doc/fluid/api/framework/program_guard.rst @@ -1,7 +1,11 @@ -.. _api_framework_program_guard: +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_fluid_framework_program_guard: program_guard -------------------------------- -:doc_source: paddle.fluid.framework.program_guard +------------- +.. autofunction:: paddle.fluid.framework.program_guard + :noindex: diff --git a/doc/fluid/api/gen_doc.py b/doc/fluid/api/gen_doc.py index 65e92c908..daaaebd64 100644 --- a/doc/fluid/api/gen_doc.py +++ b/doc/fluid/api/gen_doc.py @@ -21,7 +21,7 @@ import contextlib import paddle.fluid as fluid import paddle.tensor as tensor import paddle.nn as nn -import paddle.complex as complex +# import paddle.complex as complex #import paddle.framework as framework def parse_arg(): diff --git a/doc/fluid/api/gen_doc.sh b/doc/fluid/api/gen_doc.sh index 5284b277e..59f9e37ad 100644 --- a/doc/fluid/api/gen_doc.sh +++ b/doc/fluid/api/gen_doc.sh @@ -1,36 +1,36 @@ #!/bin/bash -for module in layers dataset clip metrics executor initializer io nets optimizer profiler regularizer transpiler backward profiler unique_name dygraph framework -do - python gen_doc.py --module_name ${module} --module_prefix ${module} --output ${module} --output_name fluid --to_multiple_files True - python gen_module_index.py ${module} fluid.${module} -done +# for module in layers dataset clip metrics executor initializer io nets optimizer profiler regularizer transpiler backward profiler unique_name dygraph framework +# do +# python gen_doc.py --module_name ${module} --module_prefix ${module} --output ${module} --output_name fluid --to_multiple_files True +# python gen_module_index.py ${module} fluid.${module} +# done -python gen_doc.py --module_name "" --module_prefix "" --output fluid --output_name fluid --to_multiple_files True -python gen_module_index.py fluid fluid +# python gen_doc.py --module_name "" --module_prefix "" --output fluid --output_name fluid --to_multiple_files True +# python gen_module_index.py fluid fluid -# tensor -for module in math random stat linalg search -do - python gen_doc.py --module_name ${module} --module_prefix ${module} --output ${module} --output_name tensor --to_multiple_files True --output_dir tensor - python gen_module_index.py tensor.${module} ${module} -done +# # tensor +# for module in math random stat linalg search +# do +# python gen_doc.py --module_name ${module} --module_prefix ${module} --output ${module} --output_name tensor --to_multiple_files True --output_dir tensor +# python gen_module_index.py tensor.${module} ${module} +# done -python gen_module_index.py tensor paddle.tensor +# python gen_module_index.py tensor paddle.tensor -for module in math manipulation linalg -do - python gen_doc.py --module_name tensor.${module} --module_prefix tensor.${module} --output tensor/${module} --output_name complex --to_multiple_files True --output_dir complex - python gen_module_index.py complex.tensor.${module} ${module} -done +# for module in math manipulation linalg +# do +# python gen_doc.py --module_name tensor.${module} --module_prefix tensor.${module} --output tensor/${module} --output_name complex --to_multiple_files True --output_dir complex +# python gen_module_index.py complex.tensor.${module} ${module} +# done -python gen_module_index.py complex.tensor tensor -python gen_module_index.py complex paddle.complex -python gen_module_index.py framework paddle.framework +# python gen_module_index.py complex.tensor tensor +# python gen_module_index.py complex paddle.complex +# python gen_module_index.py framework paddle.framework # nn -for module in loss activation +for module in layer #loss activation do python gen_doc.py --module_name ${module} --module_prefix ${module} --output ${module} --output_name nn --to_multiple_files True --output_dir nn python gen_module_index.py nn.${module} ${module} diff --git a/doc/fluid/api/incubate.rst b/doc/fluid/api/incubate.rst new file mode 100644 index 000000000..8188043ab --- /dev/null +++ b/doc/fluid/api/incubate.rst @@ -0,0 +1,8 @@ +=============== +paddle.incubate +=============== + +.. toctree:: + :maxdepth: 1 + + incubate/hapi.rst diff --git a/doc/fluid/api/incubate/hapi.rst b/doc/fluid/api/incubate/hapi.rst new file mode 100644 index 000000000..6f138c813 --- /dev/null +++ b/doc/fluid/api/incubate/hapi.rst @@ -0,0 +1,8 @@ +==== +hapi +==== + +.. toctree:: + :maxdepth: 1 + + hapi/utils.rst diff --git a/doc/fluid/api/incubate/hapi/utils.rst b/doc/fluid/api/incubate/hapi/utils.rst new file mode 100644 index 000000000..20bf2f3e6 --- /dev/null +++ b/doc/fluid/api/incubate/hapi/utils.rst @@ -0,0 +1,8 @@ +=========== +utils +=========== + +.. toctree:: + :maxdepth: 1 + + utils/summary.rst \ No newline at end of file diff --git a/doc/fluid/api/incubate/hapi/utils/summary.rst b/doc/fluid/api/incubate/hapi/utils/summary.rst new file mode 100644 index 000000000..e73149ec3 --- /dev/null +++ b/doc/fluid/api/incubate/hapi/utils/summary.rst @@ -0,0 +1,10 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_incubate_hapi_utils_summary: + +summary +------------------------------- + +.. autofunction:: paddle.incubate.hapi.utils.summary + :noindex: diff --git a/doc/fluid/api/index_en.rst b/doc/fluid/api/index_en.rst index f36071538..d8210fa7a 100644 --- a/doc/fluid/api/index_en.rst +++ b/doc/fluid/api/index_en.rst @@ -6,30 +6,32 @@ API Reference :maxdepth: 1 ../api_guides/index_en.rst - dataset.rst + complex.rst declarative.rst framework.rst imperative.rst - io.rst metric.rst nn.rst - optimizer.rst + review_tmp.rst tensor.rst fluid.rst backward.rst clip.rst data/data_reader.rst data/dataset.rst + dataset.rst dygraph.rst executor.rst fluid.rst initializer.rst + io.rst layers.rst metrics.rst nets.rst + optimizer.rst paddle.rst profiler.rst regularizer.rst transpiler.rst unique_name.rst - review_tmp.rst + incubate.rst diff --git a/doc/fluid/api/initializer.rst b/doc/fluid/api/initializer.rst index 0068f3f60..cb47ce0b1 100644 --- a/doc/fluid/api/initializer.rst +++ b/doc/fluid/api/initializer.rst @@ -16,6 +16,7 @@ fluid.initializer initializer/Normal.rst initializer/NormalInitializer.rst initializer/NumpyArrayInitializer.rst + initializer/set_global_initializer.rst initializer/TruncatedNormal.rst initializer/TruncatedNormalInitializer.rst initializer/Uniform.rst diff --git a/doc/fluid/api/io.rst b/doc/fluid/api/io.rst index 666d584ca..8df106b35 100644 --- a/doc/fluid/api/io.rst +++ b/doc/fluid/api/io.rst @@ -1,5 +1,5 @@ ======== -paddle.io +fluid.io ======== .. toctree:: @@ -14,6 +14,7 @@ paddle.io io/ComposeNotAligned.rst io/DataLoader.rst io/Dataset.rst + io/default_collate_fn.rst io/firstn.rst io/get_program_parameter.rst io/get_program_persistable_vars.rst @@ -28,12 +29,9 @@ paddle.io io/PyReader.rst io/save.rst io/save_inference_model.rst - io/save_inference_model.rst io/save_params.rst io/save_persistables.rst io/save_vars.rst io/set_program_state.rst - io/set_program_state.rst - io/shuffle.rst io/shuffle.rst io/xmap_readers.rst diff --git a/doc/fluid/api/layers.rst b/doc/fluid/api/layers.rst index 0f1fe3c22..79326ed3d 100644 --- a/doc/fluid/api/layers.rst +++ b/doc/fluid/api/layers.rst @@ -21,6 +21,7 @@ fluid.layers layers/array_read.rst layers/array_write.rst layers/asin.rst + layers/Assert.rst layers/assign.rst layers/atan.rst layers/auc.rst @@ -55,6 +56,7 @@ fluid.layers layers/conv3d_transpose.rst layers/cos.rst layers/cos_sim.rst + layers/cosh.rst layers/cosine_decay.rst layers/create_array.rst layers/create_global_var.rst @@ -174,15 +176,16 @@ fluid.layers layers/LSTMCell.rst layers/margin_rank_loss.rst layers/matmul.rst + layers/matrix_nms.rst layers/maxout.rst layers/mean.rst layers/mean_iou.rst layers/merge_selected_rows.rst + layers/mish.rst layers/mse_loss.rst layers/mul.rst layers/multi_box_head.rst layers/multiclass_nms.rst - layers/matrix_nms.rst layers/multiplex.rst layers/MultivariateNormalDiag.rst layers/natural_exp_decay.rst @@ -229,6 +232,7 @@ fluid.layers layers/reorder_lod_tensor_by_rank.rst layers/reshape.rst layers/resize_bilinear.rst + layers/resize_linear.rst layers/resize_nearest.rst layers/resize_trilinear.rst layers/retinanet_detection_output.rst @@ -276,6 +280,7 @@ fluid.layers layers/sign.rst layers/similarity_focus.rst layers/sin.rst + layers/sinh.rst layers/size.rst layers/slice.rst layers/smooth_l1.rst @@ -312,6 +317,7 @@ fluid.layers layers/topk.rst layers/TrainingHelper.rst layers/transpose.rst + layers/unbind.rst layers/unfold.rst layers/Uniform.rst layers/uniform_random.rst diff --git a/doc/fluid/api/layers/matrix_nms.rst b/doc/fluid/api/layers/matrix_nms.rst index 60bbbeb15..979212c34 100644 --- a/doc/fluid/api/layers/matrix_nms.rst +++ b/doc/fluid/api/layers/matrix_nms.rst @@ -4,7 +4,7 @@ .. _api_fluid_layers_matrix_nms: matrix_nms --------------- +---------- .. autofunction:: paddle.fluid.layers.matrix_nms :noindex: diff --git a/doc/fluid/api/nn/BatchNorm.rst b/doc/fluid/api/nn/BatchNorm.rst index b88ccdfa1..bdc0c59eb 100644 --- a/doc/fluid/api/nn/BatchNorm.rst +++ b/doc/fluid/api/nn/BatchNorm.rst @@ -1,7 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + .. _api_nn_BatchNorm: BatchNorm -------------------------------- -:doc_source: paddle.fluid.dygraph.BatchNorm +--------- +.. autoclass:: paddle.nn.BatchNorm + :members: + :inherited-members: + :noindex: diff --git a/doc/fluid/api/nn/BilinearTensorProduct.rst b/doc/fluid/api/nn/BilinearTensorProduct.rst index ca0a12452..16d3fdf91 100644 --- a/doc/fluid/api/nn/BilinearTensorProduct.rst +++ b/doc/fluid/api/nn/BilinearTensorProduct.rst @@ -1,7 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + .. _api_nn_BilinearTensorProduct: BilinearTensorProduct -------------------------------- -:doc_source: paddle.fluid.dygraph.BilinearTensorProduct +--------------------- +.. autoclass:: paddle.nn.BilinearTensorProduct + :members: + :inherited-members: + :noindex: diff --git a/doc/fluid/api/nn/ConstantPad1d.rst b/doc/fluid/api/nn/ConstantPad1d.rst index c50dceea8..b3786485a 100644 --- a/doc/fluid/api/nn/ConstantPad1d.rst +++ b/doc/fluid/api/nn/ConstantPad1d.rst @@ -1,7 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + .. _api_nn_ConstantPad1d: ConstantPad1d -------------------------------- -:doc_source: paddle.nn.ConstantPad1d +------------- +.. autoclass:: paddle.nn.ConstantPad1d + :members: + :inherited-members: + :noindex: diff --git a/doc/fluid/api/nn/ConstantPad2d.rst b/doc/fluid/api/nn/ConstantPad2d.rst index a1b614c7e..52a1d8a5f 100644 --- a/doc/fluid/api/nn/ConstantPad2d.rst +++ b/doc/fluid/api/nn/ConstantPad2d.rst @@ -1,7 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + .. _api_nn_ConstantPad2d: ConstantPad2d -------------------------------- -:doc_source: paddle.nn.ConstantPad2d +------------- +.. autoclass:: paddle.nn.ConstantPad2d + :members: + :inherited-members: + :noindex: diff --git a/doc/fluid/api/nn/ConstantPad3d.rst b/doc/fluid/api/nn/ConstantPad3d.rst index 65bf1aad2..7dba315bd 100644 --- a/doc/fluid/api/nn/ConstantPad3d.rst +++ b/doc/fluid/api/nn/ConstantPad3d.rst @@ -1,7 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + .. _api_nn_ConstantPad3d: ConstantPad3d -------------------------------- -:doc_source: paddle.nn.ConstantPad3d +------------- +.. autoclass:: paddle.nn.ConstantPad3d + :members: + :inherited-members: + :noindex: diff --git a/doc/fluid/api/nn/CosineSimilarity.rst b/doc/fluid/api/nn/CosineSimilarity.rst index 36e235f07..846bac75c 100644 --- a/doc/fluid/api/nn/CosineSimilarity.rst +++ b/doc/fluid/api/nn/CosineSimilarity.rst @@ -1,7 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + .. _api_nn_CosineSimilarity: CosineSimilarity -------------------------------- -:doc_source: paddle.nn.CosineSimilarity +---------------- +.. autoclass:: paddle.nn.CosineSimilarity + :members: + :inherited-members: + :noindex: diff --git a/doc/fluid/api/nn/Embedding.rst b/doc/fluid/api/nn/Embedding.rst index b9ec790b5..1fcf4dc79 100644 --- a/doc/fluid/api/nn/Embedding.rst +++ b/doc/fluid/api/nn/Embedding.rst @@ -1,7 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + .. _api_nn_Embedding: Embedding -------------------------------- -:doc_source: paddle.fluid.dygraph.Embedding +--------- +.. autoclass:: paddle.nn.Embedding + :members: + :inherited-members: + :noindex: diff --git a/doc/fluid/api/nn/GroupNorm.rst b/doc/fluid/api/nn/GroupNorm.rst index 0c87d6b16..6b74cb98d 100644 --- a/doc/fluid/api/nn/GroupNorm.rst +++ b/doc/fluid/api/nn/GroupNorm.rst @@ -1,7 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + .. _api_nn_GroupNorm: GroupNorm -------------------------------- -:doc_source: paddle.fluid.dygraph.GroupNorm +--------- +.. autoclass:: paddle.nn.GroupNorm + :members: + :inherited-members: + :noindex: diff --git a/doc/fluid/api/nn/LayerNorm.rst b/doc/fluid/api/nn/LayerNorm.rst index 162d53ad7..bedd3d824 100644 --- a/doc/fluid/api/nn/LayerNorm.rst +++ b/doc/fluid/api/nn/LayerNorm.rst @@ -1,7 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + .. _api_nn_LayerNorm: LayerNorm -------------------------------- -:doc_source: paddle.fluid.dygraph.LayerNorm +--------- +.. autoclass:: paddle.nn.LayerNorm + :members: + :inherited-members: + :noindex: diff --git a/doc/fluid/api/nn/Linear.rst b/doc/fluid/api/nn/Linear.rst index 239d4d2d2..9d73cca56 100644 --- a/doc/fluid/api/nn/Linear.rst +++ b/doc/fluid/api/nn/Linear.rst @@ -1,7 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + .. _api_nn_Linear: Linear -------------------------------- -:doc_source: paddle.fluid.dygraph.Linear +------ +.. autoclass:: paddle.nn.Linear + :members: + :inherited-members: + :noindex: diff --git a/doc/fluid/api/nn/Pool2D.rst b/doc/fluid/api/nn/Pool2D.rst index e34535daa..b3998e5dc 100644 --- a/doc/fluid/api/nn/Pool2D.rst +++ b/doc/fluid/api/nn/Pool2D.rst @@ -1,7 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + .. _api_nn_Pool2D: Pool2D -------------------------------- -:doc_source: paddle.fluid.dygraph.Pool2D +------ +.. autoclass:: paddle.nn.Pool2D + :members: + :inherited-members: + :noindex: diff --git a/doc/fluid/api/nn/ReflectionPad1d.rst b/doc/fluid/api/nn/ReflectionPad1d.rst index 489988948..e8c002105 100644 --- a/doc/fluid/api/nn/ReflectionPad1d.rst +++ b/doc/fluid/api/nn/ReflectionPad1d.rst @@ -1,7 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + .. _api_nn_ReflectionPad1d: ReflectionPad1d -------------------------------- -:doc_source: paddle.nn.ReflectionPad1d +--------------- +.. autoclass:: paddle.nn.ReflectionPad1d + :members: + :inherited-members: + :noindex: diff --git a/doc/fluid/api/nn/ReflectionPad2d.rst b/doc/fluid/api/nn/ReflectionPad2d.rst index 50ade0a1a..ceaa2b350 100644 --- a/doc/fluid/api/nn/ReflectionPad2d.rst +++ b/doc/fluid/api/nn/ReflectionPad2d.rst @@ -1,7 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + .. _api_nn_ReflectionPad2d: ReflectionPad2d -------------------------------- -:doc_source: paddle.nn.ReflectionPad2d +--------------- +.. autoclass:: paddle.nn.ReflectionPad2d + :members: + :inherited-members: + :noindex: diff --git a/doc/fluid/api/nn/ReplicationPad1d.rst b/doc/fluid/api/nn/ReplicationPad1d.rst index da4c6217a..1ae009cf1 100644 --- a/doc/fluid/api/nn/ReplicationPad1d.rst +++ b/doc/fluid/api/nn/ReplicationPad1d.rst @@ -1,7 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + .. _api_nn_ReplicationPad1d: ReplicationPad1d -------------------------------- -:doc_source: paddle.nn.ReplicationPad1d +---------------- +.. autoclass:: paddle.nn.ReplicationPad1d + :members: + :inherited-members: + :noindex: diff --git a/doc/fluid/api/nn/ReplicationPad2d.rst b/doc/fluid/api/nn/ReplicationPad2d.rst index b388ba3b9..c5fd54b0e 100644 --- a/doc/fluid/api/nn/ReplicationPad2d.rst +++ b/doc/fluid/api/nn/ReplicationPad2d.rst @@ -1,7 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + .. _api_nn_ReplicationPad2d: ReplicationPad2d -------------------------------- -:doc_source: paddle.nn.ReplicationPad2d +---------------- +.. autoclass:: paddle.nn.ReplicationPad2d + :members: + :inherited-members: + :noindex: diff --git a/doc/fluid/api/nn/ReplicationPad3d.rst b/doc/fluid/api/nn/ReplicationPad3d.rst index 9faba1ccd..eaaacf161 100644 --- a/doc/fluid/api/nn/ReplicationPad3d.rst +++ b/doc/fluid/api/nn/ReplicationPad3d.rst @@ -1,7 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + .. _api_nn_ReplicationPad3d: ReplicationPad3d -------------------------------- -:doc_source: paddle.nn.ReplicationPad3d +---------------- +.. autoclass:: paddle.nn.ReplicationPad3d + :members: + :inherited-members: + :noindex: diff --git a/doc/fluid/api/nn/SpectralNorm.rst b/doc/fluid/api/nn/SpectralNorm.rst index aff8682c3..487774ebd 100644 --- a/doc/fluid/api/nn/SpectralNorm.rst +++ b/doc/fluid/api/nn/SpectralNorm.rst @@ -1,7 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + .. _api_nn_SpectralNorm: SpectralNorm -------------------------------- -:doc_source: paddle.fluid.dygraph.SpectralNorm +------------ +.. autoclass:: paddle.nn.SpectralNorm + :members: + :inherited-members: + :noindex: diff --git a/doc/fluid/api/nn/ZeroPad2d.rst b/doc/fluid/api/nn/ZeroPad2d.rst index 1b71c19f9..6648b1595 100644 --- a/doc/fluid/api/nn/ZeroPad2d.rst +++ b/doc/fluid/api/nn/ZeroPad2d.rst @@ -1,7 +1,13 @@ +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + .. _api_nn_ZeroPad2d: ZeroPad2d -------------------------------- -:doc_source: paddle.nn.ZeroPad2d +--------- +.. autoclass:: paddle.nn.ZeroPad2d + :members: + :inherited-members: + :noindex: diff --git a/doc/fluid/api/nn/activation.rst b/doc/fluid/api/nn/activation.rst index 5e1d1be87..9debdb129 100644 --- a/doc/fluid/api/nn/activation.rst +++ b/doc/fluid/api/nn/activation.rst @@ -8,7 +8,6 @@ activation activation/ELU.rst activation/GELU.rst activation/Hardshrink.rst - activation/Tanh.rst activation/Hardtanh.rst activation/LogSigmoid.rst activation/PReLU.rst @@ -19,4 +18,5 @@ activation activation/Softplus.rst activation/Softshrink.rst activation/Softsign.rst + activation/Tanh.rst activation/Tanhshrink.rst diff --git a/doc/fluid/api/nn/add_position_encoding.rst b/doc/fluid/api/nn/add_position_encoding.rst deleted file mode 100644 index 7f07f2ba6..000000000 --- a/doc/fluid/api/nn/add_position_encoding.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. _api_nn_add_position_encoding: - -add_position_encoding -------------------------------- -:doc_source: paddle.fluid.layers.add_position_encoding - - diff --git a/doc/fluid/api/nn/continuous_value_model.rst b/doc/fluid/api/nn/continuous_value_model.rst deleted file mode 100644 index 95e369457..000000000 --- a/doc/fluid/api/nn/continuous_value_model.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. _api_nn_continuous_value_model: - -continuous_value_model -------------------------------- -:doc_source: paddle.fluid.layers.continuous_value_model - - diff --git a/doc/fluid/api/nn/filter_by_instag.rst b/doc/fluid/api/nn/filter_by_instag.rst deleted file mode 100644 index 3587ac608..000000000 --- a/doc/fluid/api/nn/filter_by_instag.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. _api_nn_filter_by_instag: - -filter_by_instag -------------------------------- -:doc_source: paddle.fluid.layers.filter_by_instag - - diff --git a/doc/fluid/api/nn/functional/binary_cross_entropy.rst b/doc/fluid/api/nn/functional/binary_cross_entropy.rst index adafad14a..ee90766d7 100644 --- a/doc/fluid/api/nn/functional/binary_cross_entropy.rst +++ b/doc/fluid/api/nn/functional/binary_cross_entropy.rst @@ -1,11 +1,11 @@ .. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` !DO NOT EDIT THIS FILE MANUALLY! -.. _api_nn_functional_binary_cross_entropy: +.. _api_nn_functional_loss_binary_cross_entropy: binary_cross_entropy -------------------- -.. autofunction:: paddle.nn.functional.binary_cross_entropy +.. autofunction:: paddle.nn.functional.loss.binary_cross_entropy :noindex: diff --git a/doc/fluid/api/nn/functional/l1_loss.rst b/doc/fluid/api/nn/functional/l1_loss.rst index 01a3ea06e..18b429dcc 100644 --- a/doc/fluid/api/nn/functional/l1_loss.rst +++ b/doc/fluid/api/nn/functional/l1_loss.rst @@ -1,10 +1,11 @@ -.. _api_nn_functional_l1_loss: +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_nn_functional_loss_l1_loss: l1_loss ------- +------- -.. autoclass:: paddle.nn.functional.l1_loss - :members: - :inherited-members: +.. autofunction:: paddle.nn.functional.loss.l1_loss :noindex: diff --git a/doc/fluid/api/nn/functional/mse_loss.rst b/doc/fluid/api/nn/functional/mse_loss.rst index b5ec8c58b..437412cfb 100644 --- a/doc/fluid/api/nn/functional/mse_loss.rst +++ b/doc/fluid/api/nn/functional/mse_loss.rst @@ -1,10 +1,11 @@ -.. _api_nn_functional_mse_loss: +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_nn_functional_loss_mse_loss: mse_loss ------- +-------- -.. autoclass:: paddle.nn.functional.mse_loss - :members: - :inherited-members: +.. autofunction:: paddle.nn.functional.loss.mse_loss :noindex: diff --git a/doc/fluid/api/nn/functional/nll_loss.rst b/doc/fluid/api/nn/functional/nll_loss.rst index 6f0ce4093..0a3a15a75 100644 --- a/doc/fluid/api/nn/functional/nll_loss.rst +++ b/doc/fluid/api/nn/functional/nll_loss.rst @@ -1,10 +1,11 @@ -.. _api_nn_functional_nll_loss: +.. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` + !DO NOT EDIT THIS FILE MANUALLY! + +.. _api_nn_functional_loss_nll_loss: nll_loss -------------------------------- +-------- -.. autoclass:: paddle.nn.functional.nll_loss - :members: - :inherited-members: +.. autofunction:: paddle.nn.functional.loss.nll_loss :noindex: diff --git a/doc/fluid/api/nn/loss/BCELoss.rst b/doc/fluid/api/nn/loss/BCELoss.rst index 2dd78661c..8f1ff8d73 100644 --- a/doc/fluid/api/nn/loss/BCELoss.rst +++ b/doc/fluid/api/nn/loss/BCELoss.rst @@ -4,7 +4,7 @@ .. _api_nn_loss_BCELoss: BCELoss -------------------------------- +------- .. autoclass:: paddle.nn.loss.BCELoss :members: diff --git a/doc/fluid/api/nn/loss/NLLLoss.rst b/doc/fluid/api/nn/loss/NLLLoss.rst index c1a0c26de..957a4dd43 100644 --- a/doc/fluid/api/nn/loss/NLLLoss.rst +++ b/doc/fluid/api/nn/loss/NLLLoss.rst @@ -4,7 +4,7 @@ .. _api_nn_loss_NLLLoss: NLLLoss -------------------------------- +------- .. autoclass:: paddle.nn.loss.NLLLoss :members: diff --git a/doc/fluid/api/nn/multiclass_nms.rst b/doc/fluid/api/nn/multiclass_nms.rst deleted file mode 100644 index b81b4a72a..000000000 --- a/doc/fluid/api/nn/multiclass_nms.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. _api_nn_multiclass_nms: - -multiclass_nms -------------------------------- -:doc_source: paddle.fluid.layers.multiclass_nms - - diff --git a/doc/fluid/api/nn/polygon_box_transform.rst b/doc/fluid/api/nn/polygon_box_transform.rst deleted file mode 100644 index a993817b3..000000000 --- a/doc/fluid/api/nn/polygon_box_transform.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. _api_nn_polygon_box_transform: - -polygon_box_transform -------------------------------- -:doc_source: paddle.fluid.layers.polygon_box_transform - - diff --git a/doc/fluid/api/nn/random_crop.rst b/doc/fluid/api/nn/random_crop.rst deleted file mode 100644 index 6a20767bd..000000000 --- a/doc/fluid/api/nn/random_crop.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. _api_nn_random_crop: - -random_crop -------------------------------- -:doc_source: paddle.fluid.layers.random_crop - - diff --git a/doc/fluid/api/nn/row_conv.rst b/doc/fluid/api/nn/row_conv.rst deleted file mode 100644 index 93eb2dc4d..000000000 --- a/doc/fluid/api/nn/row_conv.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. _api_nn_row_conv: - -row_conv -------------------------------- -:doc_source: paddle.fluid.layers.row_conv - - diff --git a/doc/fluid/api/nn/rpn_target_assign.rst b/doc/fluid/api/nn/rpn_target_assign.rst deleted file mode 100644 index 91c2213e7..000000000 --- a/doc/fluid/api/nn/rpn_target_assign.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. _api_nn_rpn_target_assign: - -rpn_target_assign -------------------------------- -:doc_source: paddle.fluid.layers.rpn_target_assign - - diff --git a/doc/fluid/api/nn/similarity_focus.rst b/doc/fluid/api/nn/similarity_focus.rst deleted file mode 100644 index 7f3bacb72..000000000 --- a/doc/fluid/api/nn/similarity_focus.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. _api_nn_similarity_focus: - -similarity_focus -------------------------------- -:doc_source: paddle.fluid.layers.similarity_focus - - diff --git a/doc/fluid/api/nn/target_assign.rst b/doc/fluid/api/nn/target_assign.rst deleted file mode 100644 index 0a1337faf..000000000 --- a/doc/fluid/api/nn/target_assign.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. _api_nn_target_assign: - -target_assign -------------------------------- -:doc_source: paddle.fluid.layers.target_assign - - diff --git a/doc/fluid/api/nn/temporal_shift.rst b/doc/fluid/api/nn/temporal_shift.rst deleted file mode 100644 index 85eb76bad..000000000 --- a/doc/fluid/api/nn/temporal_shift.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. _api_nn_temporal_shift: - -temporal_shift -------------------------------- -:doc_source: paddle.fluid.layers.temporal_shift - - diff --git a/doc/fluid/api/nn/warpctc.rst b/doc/fluid/api/nn/warpctc.rst deleted file mode 100644 index a7d791d58..000000000 --- a/doc/fluid/api/nn/warpctc.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. _api_nn_warpctc: - -warpctc -------------------------------- -:doc_source: paddle.fluid.layers.warpctc - - diff --git a/doc/fluid/api/optimizer.rst b/doc/fluid/api/optimizer.rst index 06ccc6955..6f0377a58 100644 --- a/doc/fluid/api/optimizer.rst +++ b/doc/fluid/api/optimizer.rst @@ -1,5 +1,5 @@ =============== -paddle.optimizer +fluid.optimizer =============== .. toctree:: @@ -28,6 +28,7 @@ paddle.optimizer optimizer/ModelAverage.rst optimizer/Momentum.rst optimizer/MomentumOptimizer.rst + optimizer/PipelineOptimizer.rst optimizer/RecomputeOptimizer.rst optimizer/RMSPropOptimizer.rst optimizer/SGD.rst diff --git a/doc/fluid/api/tensor.rst b/doc/fluid/api/tensor.rst index 8ac2aa597..f9a430517 100644 --- a/doc/fluid/api/tensor.rst +++ b/doc/fluid/api/tensor.rst @@ -49,16 +49,16 @@ paddle.tensor tensor/has_inf.rst tensor/has_nan.rst tensor/increment.rst - tensor/is_empty.rst tensor/index_select.rst + tensor/is_empty.rst tensor/isfinite.rst tensor/less_equal.rst tensor/less_than.rst - tensor/logic.rst tensor/linalg.rst tensor/linspace.rst tensor/load.rst tensor/log.rst + tensor/logic.rst tensor/logical_and.rst tensor/logical_not.rst tensor/logical_or.rst @@ -70,13 +70,12 @@ paddle.tensor tensor/min.rst tensor/minimum.rst tensor/mm.rst - tensor/mul.rst tensor/multiplex.rst tensor/norm.rst tensor/not_equal.rst + tensor/numel.rst tensor/ones.rst tensor/ones_like.rst - tensor/numel.rst tensor/pow.rst tensor/random.rst tensor/rank.rst @@ -111,8 +110,8 @@ paddle.tensor tensor/squeeze.rst tensor/stack.rst tensor/stanh.rst - tensor/std.rst tensor/stat.rst + tensor/std.rst tensor/strided_slice.rst tensor/sum.rst tensor/sums.rst diff --git a/doc/fluid/api/tensor/linalg.rst b/doc/fluid/api/tensor/linalg.rst index 08cabf1c4..563670487 100644 --- a/doc/fluid/api/tensor/linalg.rst +++ b/doc/fluid/api/tensor/linalg.rst @@ -5,4 +5,13 @@ linalg .. toctree:: :maxdepth: 1 + linalg/bmm.rst + linalg/cholesky.rst + linalg/cross.rst linalg/dist.rst + linalg/dot.rst + linalg/histogram.rst + linalg/matmul.rst + linalg/norm.rst + linalg/t.rst + linalg/transpose.rst diff --git a/doc/fluid/api/tensor/linalg/dist.rst b/doc/fluid/api/tensor/linalg/dist.rst index 6ca92b536..386b68fdd 100644 --- a/doc/fluid/api/tensor/linalg/dist.rst +++ b/doc/fluid/api/tensor/linalg/dist.rst @@ -4,7 +4,7 @@ .. _api_tensor_linalg_dist: dist --------- +---- .. autofunction:: paddle.tensor.linalg.dist :noindex: diff --git a/doc/fluid/api/tensor/math.rst b/doc/fluid/api/tensor/math.rst index 50d66eac8..2222e60c5 100644 --- a/doc/fluid/api/tensor/math.rst +++ b/doc/fluid/api/tensor/math.rst @@ -5,26 +5,68 @@ math .. toctree:: :maxdepth: 1 + math/abs.rst + math/acos.rst math/add.rst math/addcmul.rst math/addmm.rst + math/asin.rst math/atan.rst - math/clamp.rst + math/ceil.rst + math/clip.rst + math/cos.rst + math/cosh.rst + math/cumsum.rst + math/div.rst math/divide.rst + math/elementwise_add.rst + math/elementwise_div.rst + math/elementwise_floordiv.rst + math/elementwise_mod.rst + math/elementwise_pow.rst + math/elementwise_sub.rst + math/elementwise_sum.rst + math/erf.rst + math/exp.rst + math/floor.rst math/floor_divide.rst - math/remainder.rst math/floor_mod.rst - math/mod.rst - math/elementwise_sum.rst + math/increment.rst + math/inverse.rst + math/isfinite.rst + math/isinf.rst + math/isnan.rst + math/kron.rst + math/log.rst math/log1p.rst math/logsumexp.rst math/max.rst + math/maximum.rst math/min.rst + math/minimum.rst math/mm.rst + math/mod.rst math/mul.rst + math/multiplex.rst + math/multiply.rst math/pow.rst + math/prod.rst + math/reciprocal.rst + math/reduce_max.rst + math/reduce_min.rst + math/reduce_prod.rst + math/reduce_sum.rst + math/remainder.rst + math/round.rst + math/rsqrt.rst + math/scale.rst math/sign.rst math/sin.rst + math/sinh.rst math/sqrt.rst + math/square.rst + math/stanh.rst math/sum.rst + math/sums.rst math/tanh.rst + math/trace.rst diff --git a/doc/fluid/api/tensor/math/mul.rst b/doc/fluid/api/tensor/math/mul.rst index 9b14559a4..d1580be03 100644 --- a/doc/fluid/api/tensor/math/mul.rst +++ b/doc/fluid/api/tensor/math/mul.rst @@ -1,11 +1,3 @@ .. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` !DO NOT EDIT THIS FILE MANUALLY! -.. _api_tensor_math_mul: - -mul ---- - -.. autofunction:: paddle.tensor.math.mul - :noindex: - diff --git a/doc/fluid/api/tensor/math/sign.rst b/doc/fluid/api/tensor/math/sign.rst index 5ee442aec..b32a82449 100644 --- a/doc/fluid/api/tensor/math/sign.rst +++ b/doc/fluid/api/tensor/math/sign.rst @@ -1,9 +1,10 @@ .. THIS FILE IS GENERATED BY `gen_doc.{py|sh}` !DO NOT EDIT THIS FILE MANUALLY! + .. _api_tensor_math_sign: sign ------- +---- .. autofunction:: paddle.tensor.math.sign :noindex: diff --git a/doc/fluid/api/tensor/mul.rst b/doc/fluid/api/tensor/mul.rst deleted file mode 100644 index 40af2fcfa..000000000 --- a/doc/fluid/api/tensor/mul.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. _api_tensor_cn_mul: - -mul -------------------------------- -:doc_source: paddle.fluid.layers.mul - - diff --git a/doc/fluid/api/tensor/random.rst b/doc/fluid/api/tensor/random.rst index b119e70bb..3b90834cf 100644 --- a/doc/fluid/api/tensor/random.rst +++ b/doc/fluid/api/tensor/random.rst @@ -5,10 +5,12 @@ random .. toctree:: :maxdepth: 1 + random/bernoulli.rst random/normal.rst random/rand.rst random/randint.rst random/randn.rst random/randperm.rst + random/shuffle.rst random/standard_normal.rst random/uniform.rst diff --git a/doc/fluid/api/tensor/random/uniform.rst b/doc/fluid/api/tensor/random/uniform.rst index b323d3712..18dcd64b8 100644 --- a/doc/fluid/api/tensor/random/uniform.rst +++ b/doc/fluid/api/tensor/random/uniform.rst @@ -8,3 +8,4 @@ uniform .. autofunction:: paddle.tensor.random.uniform :noindex: + diff --git a/doc/fluid/api/transpiler.rst b/doc/fluid/api/transpiler.rst index 28905bd06..2492b9813 100644 --- a/doc/fluid/api/transpiler.rst +++ b/doc/fluid/api/transpiler.rst @@ -10,3 +10,4 @@ fluid.transpiler transpiler/HashName.rst transpiler/memory_optimize.rst transpiler/release_memory.rst + transpiler/RoundRobin.rst -- GitLab