From a55dbe150d7a6840df7e7407df31216e3123a033 Mon Sep 17 00:00:00 2001 From: Cheerego <35982308+shanyi15@users.noreply.github.com> Date: Mon, 1 Apr 2019 17:52:03 +0800 Subject: [PATCH] commitid_0401 (#748) --- doc/fluid/api/fluid.rst | 24 ++++++++ doc/fluid/api/io.rst | 9 +++ doc/fluid/api/layers.rst | 120 ++++++++++++++++++++++++++++++++++++ doc/fluid/api/optimizer.rst | 9 +++ external/Paddle | 2 +- 5 files changed, 163 insertions(+), 1 deletion(-) diff --git a/doc/fluid/api/fluid.rst b/doc/fluid/api/fluid.rst index e234fef94..868544c25 100644 --- a/doc/fluid/api/fluid.rst +++ b/doc/fluid/api/fluid.rst @@ -32,6 +32,14 @@ CompiledProgram :members: :noindex: +.. _api_fluid_cpu_places: + +cpu_places +---------- + +.. autofunction:: paddle.fluid.cpu_places + :noindex: + .. _api_fluid_CPUPlace: CPUPlace @@ -57,6 +65,22 @@ create_random_int_lodtensor .. autofunction:: paddle.fluid.create_random_int_lodtensor :noindex: +.. _api_fluid_cuda_pinned_places: + +cuda_pinned_places +------------------ + +.. autofunction:: paddle.fluid.cuda_pinned_places + :noindex: + +.. _api_fluid_cuda_places: + +cuda_places +----------- + +.. autofunction:: paddle.fluid.cuda_places + :noindex: + .. _api_fluid_CUDAPinnedPlace: CUDAPinnedPlace diff --git a/doc/fluid/api/io.rst b/doc/fluid/api/io.rst index b3dc7f83c..df548a49e 100644 --- a/doc/fluid/api/io.rst +++ b/doc/fluid/api/io.rst @@ -37,6 +37,15 @@ load_vars .. autofunction:: paddle.fluid.io.load_vars :noindex: +.. _api_fluid_io_PyReader: + +PyReader +-------- + +.. autoclass:: paddle.fluid.io.PyReader + :members: + :noindex: + .. _api_fluid_io_save_inference_model: save_inference_model diff --git a/doc/fluid/api/layers.rst b/doc/fluid/api/layers.rst index b04c2051b..4770a81f8 100644 --- a/doc/fluid/api/layers.rst +++ b/doc/fluid/api/layers.rst @@ -575,6 +575,14 @@ flatten .. autofunction:: paddle.fluid.layers.flatten :noindex: +.. _api_fluid_layers_fsp_matrix: + +fsp_matrix +---------- + +.. autofunction:: paddle.fluid.layers.fsp_matrix + :noindex: + .. _api_fluid_layers_gather: gather @@ -687,6 +695,14 @@ image_resize_short .. autofunction:: paddle.fluid.layers.image_resize_short :noindex: +.. _api_fluid_layers_kldiv_loss: + +kldiv_loss +---------- + +.. autofunction:: paddle.fluid.layers.kldiv_loss + :noindex: + .. _api_fluid_layers_l2_normalize: l2_normalize @@ -879,6 +895,14 @@ nce .. autofunction:: paddle.fluid.layers.nce :noindex: +.. _api_fluid_layers_npair_loss: + +npair_loss +---------- + +.. autofunction:: paddle.fluid.layers.npair_loss + :noindex: + .. _api_fluid_layers_one_hot: one_hot @@ -1079,6 +1103,14 @@ row_conv .. autofunction:: paddle.fluid.layers.row_conv :noindex: +.. _api_fluid_layers_sampled_softmax_with_cross_entropy: + +sampled_softmax_with_cross_entropy +---------------------------------- + +.. autofunction:: paddle.fluid.layers.sampled_softmax_with_cross_entropy + :noindex: + .. _api_fluid_layers_sampling_id: sampling_id @@ -1319,6 +1351,14 @@ space_to_depth .. autofunction:: paddle.fluid.layers.space_to_depth :noindex: +.. _api_fluid_layers_spectral_norm: + +spectral_norm +------------- + +.. autofunction:: paddle.fluid.layers.spectral_norm + :noindex: + .. _api_fluid_layers_split: split @@ -1383,6 +1423,14 @@ teacher_student_sigmoid_loss .. autofunction:: paddle.fluid.layers.teacher_student_sigmoid_loss :noindex: +.. _api_fluid_layers_temporal_shift: + +temporal_shift +-------------- + +.. autofunction:: paddle.fluid.layers.temporal_shift + :noindex: + .. _api_fluid_layers_topk: topk @@ -1450,6 +1498,30 @@ abs .. autofunction:: paddle.fluid.layers.abs :noindex: +.. _api_fluid_layers_acos: + +acos +---- + +.. autofunction:: paddle.fluid.layers.acos + :noindex: + +.. _api_fluid_layers_asin: + +asin +---- + +.. autofunction:: paddle.fluid.layers.asin + :noindex: + +.. _api_fluid_layers_atan: + +atan +---- + +.. autofunction:: paddle.fluid.layers.atan + :noindex: + .. _api_fluid_layers_ceil: ceil @@ -1733,6 +1805,14 @@ ones .. autofunction:: paddle.fluid.layers.ones :noindex: +.. _api_fluid_layers_range: + +range +----- + +.. autofunction:: paddle.fluid.layers.range + :noindex: + .. _api_fluid_layers_reverse: reverse @@ -1776,6 +1856,14 @@ append_LARS .. autofunction:: paddle.fluid.layers.append_LARS :noindex: +.. _api_fluid_layers_cosine_decay: + +cosine_decay +------------ + +.. autofunction:: paddle.fluid.layers.cosine_decay + :noindex: + .. _api_fluid_layers_exponential_decay: exponential_decay @@ -1792,6 +1880,14 @@ inverse_time_decay .. autofunction:: paddle.fluid.layers.inverse_time_decay :noindex: +.. _api_fluid_layers_linear_lr_warmup: + +linear_lr_warmup +---------------- + +.. autofunction:: paddle.fluid.layers.linear_lr_warmup + :noindex: + .. _api_fluid_layers_natural_exp_decay: natural_exp_decay @@ -1859,6 +1955,14 @@ box_coder .. autofunction:: paddle.fluid.layers.box_coder :noindex: +.. _api_fluid_layers_box_decoder_and_assign: + +box_decoder_and_assign +---------------------- + +.. autofunction:: paddle.fluid.layers.box_decoder_and_assign + :noindex: + .. _api_fluid_layers_density_prior_box: density_prior_box @@ -1883,6 +1987,14 @@ detection_output .. autofunction:: paddle.fluid.layers.detection_output :noindex: +.. _api_fluid_layers_distribute_fpn_proposals: + +distribute_fpn_proposals +------------------------ + +.. autofunction:: paddle.fluid.layers.distribute_fpn_proposals + :noindex: + .. _api_fluid_layers_generate_mask_labels: generate_mask_labels @@ -1979,6 +2091,14 @@ target_assign .. autofunction:: paddle.fluid.layers.target_assign :noindex: +.. _api_fluid_layers_yolo_box: + +yolo_box +-------- + +.. autofunction:: paddle.fluid.layers.yolo_box + :noindex: + .. _api_fluid_layers_yolov3_loss: yolov3_loss diff --git a/doc/fluid/api/optimizer.rst b/doc/fluid/api/optimizer.rst index 6c81c501d..125b1d008 100644 --- a/doc/fluid/api/optimizer.rst +++ b/doc/fluid/api/optimizer.rst @@ -86,6 +86,15 @@ DecayedAdagradOptimizer :members: :noindex: +.. _api_fluid_optimizer_DGCMomentumOptimizer: + +DGCMomentumOptimizer +-------------------- + +.. autoclass:: paddle.fluid.optimizer.DGCMomentumOptimizer + :members: + :noindex: + .. _api_fluid_optimizer_Ftrl: Ftrl diff --git a/external/Paddle b/external/Paddle index ad80bde82..feb1b54f9 160000 --- a/external/Paddle +++ b/external/Paddle @@ -1 +1 @@ -Subproject commit ad80bde824702518b835fc951be7e98800cc34e3 +Subproject commit feb1b54f9d14f7cb7f9f9630813301f2af299ffa -- GitLab