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

[doc] fix api name in *.rst #6423

Merged
merged 2 commits into from
Dec 26, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
fix name in md
  • Loading branch information
ooooo-create committed Dec 22, 2023
commit b612098f343b3411f9e69fb0e8d9443aff73af1d
1 change: 0 additions & 1 deletion docs/api/paddle/ParamAttr_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_ParamAttr:


ParamAttr
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/addmm_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_addmm:


addmm
-------------------------------

Expand Down
2 changes: 1 addition & 1 deletion docs/api/paddle/bucketize_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. _cn_api_paddle_bucketize:

paddle.bucketize
bucketize
-------------------------------

.. py:function:: paddle.bucketize(x, sorted_sequence, out_int32=False, right=False, name=None)
Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/device/cuda/get_device_properties_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_device_cuda_get_device_properties:


get_device_properties
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/device/cuda/max_memory_allocated_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_device_cuda_max_memory_allocated:


max_memory_allocated
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/device/cuda/max_memory_reserved_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_device_cuda_max_memory_reserved:


max_memory_reserved
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/device/cuda/memory_allocated_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_device_cuda_memory_allocated:


memory_allocated
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/device/cuda/memory_reserved_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_device_cuda_memory_reserved:


memory_reserved
-------------------------------

Expand Down
2 changes: 1 addition & 1 deletion docs/api/paddle/distributed/QueueDataset_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. _cn_api_paddle_distributed_QueueDataset:

QueueyDataset
QueueDataset
-------------------------------


Expand Down
2 changes: 1 addition & 1 deletion docs/api/paddle/incubate/nn/FusedEcMoe_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. _cn_api_paddle_incubate_nn_FusedEcMoe:

FusedEcMoE
FusedEcMoe
-------------------------------
.. py:class:: paddle.incubate.nn.FusedEcMoe(hidden_size, inter_size, num_experts, act_type, weight_attr=None, bias_attr=None)

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/nn/AdaptiveAvgPool1D_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_nn_AdaptiveAvgPool1D:


AdaptiveAvgPool1D
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/nn/AdaptiveMaxPool1D_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_nn_AdaptiveMaxPool1D:


AdaptiveMaxPool1D
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/nn/AdaptiveMaxPool2D_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_nn_AdaptiveMaxPool2D:


AdaptiveMaxPool2D
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/nn/AdaptiveMaxPool3D_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_nn_AdaptiveMaxPool3D:


AdaptiveMaxPool3D
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/nn/AvgPool1D_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_nn_AvgPool1D:


AvgPool1D
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/nn/MaxPool1D_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_nn_MaxPool1D:


MaxPool1D
-------------------------------

Expand Down
4 changes: 2 additions & 2 deletions docs/api/paddle/nn/SoftMarginLoss_cn.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.. _cn_api_paddle_nn_SoftMarginLoss:

SoftMarginloss
SoftMarginLoss
-------------------------------

.. py:class:: paddle.nn.SoftMarginloss((reduction='mean', name=None)
.. py:class:: paddle.nn.SoftMarginLoss(reduction='mean', name=None)

生成一个可以计算输入 `input` 和 `label` 间的二分类损失的类。

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/nn/functional/adaptive_avg_pool1d_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_nn_functional_adaptive_avg_pool1d:


adaptive_avg_pool1d
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/nn/functional/adaptive_max_pool1d_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_nn_functional_adaptive_max_pool1d:


adaptive_max_pool1d
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/nn/functional/avg_pool1d_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_nn_functional_avg_pool1d:


avg_pool1d
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/nn/functional/avg_pool2d_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_nn_functional_avg_pool2d:


avg_pool2d
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/nn/functional/avg_pool3d_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_nn_functional_avg_pool3d:


avg_pool3d
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/nn/functional/channel_shuffle_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_nn_functional_channel_shuffle:


channel_shuffle
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/nn/functional/max_pool1d_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_nn_functional_max_pool1d:


max_pool1d
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/nn/functional/max_pool2d_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_nn_functional_max_pool2d:


max_pool2d
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/nn/functional/max_pool3d_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_nn_functional_max_pool3d:


max_pool3d
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/nn/functional/max_unpool1d_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_nn_functional_max_unpool1d:


max_unpool1d
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/nn/functional/max_unpool2d_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_nn_functional_max_unpool2d:


max_unpool2d
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/nn/functional/max_unpool3d_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_nn_functional_max_unpool3d:


max_unpool3d
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/nn/functional/pixel_shuffle_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_nn_functional_pixel_shuffle:


pixel_shuffle
-------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/nn/functional/pixel_unshuffle_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_nn_functional_pixel_unshuffle:


pixel_unshuffle
-------------------------------

Expand Down
1 change: 1 addition & 0 deletions docs/api/paddle/nn/functional/sparse_attention_cn.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.. _cn_api_paddle_nn_functional_sparse_attention:

sparse_attention
-------------------------------

Expand Down
2 changes: 1 addition & 1 deletion docs/api/paddle/profiler/Overview_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Profiler 功能使用相关的枚举类 API
" :ref:`ProfilerTarget <cn_api_paddle_profiler_ProfilerTarget>` ", "用来指定性能分析的设备"
" :ref:`ProfilerState <cn_api_paddle_profiler_ProfilerState>` ", "用来表示性能分析器的状态"
" :ref:`SortedKeys <cn_api_paddle_profiler_SortedKeys>` ", "用来指定表单内数据的排序方式"
" :ref:`SummaryView <cn_api_paddle_profiler_ProfilerSummaryView>` ", "用来指定数据表单类型"
" :ref:`SummaryView <cn_api_paddle_profiler_SummaryView>` ", "用来指定数据表单类型"

.. _about_profiler_control:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. _cn_api_paddle_profiler_ProfilerSummaryView:
.. _cn_api_paddle_profiler_SummaryView:

SummaryView
---------------------
Expand Down
1 change: 0 additions & 1 deletion docs/api/paddle/sparse/nn/functional/max_pool3d_cn.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.. _cn_api_paddle_sparse_nn_functional_max_pool3d:


max_pool3d
-------------------------------

Expand Down
8 changes: 0 additions & 8 deletions docs/api/paddle/static/default_startup_program_cn.rst
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
.. _cn_api_paddle_static_default_startup_program:




default_startup_program
-------------------------------

.. py:function:: paddle.static.default_startup_program()






该函数可以获取默认/全局 startup :ref:`cn_api_paddle_static_Program` (初始化启动程序)。

``paddle.nn`` 中的函数将参数初始化 OP 追加到 ``startup program`` 中,运行 ``startup program`` 会完成参数的初始化。
Expand Down