-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[Docathon] 修复英文 API label #57363
Labels
Comments
认领 NO.1~NO.5 |
认领 NO.6 |
认领 NO.51-NO.64 |
认领 NO.8-NO.11 #57614 |
认领 NO.28-NO.29 #57623 |
认领 NO.30-NO.40 #57630 |
This was referenced Sep 22, 2023
认领 NO.21 |
认领 NO.19,20 |
认领No.2,No.3 |
[Docathon] 修复英文 API label 已全部完成,感谢参与的小伙伴们!
欢迎继续参与快乐开源的其他任务! |
github-project-automation
bot
moved this from In Progress
to Done
in Call for Contributions
Nov 13, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Motivation
#56682
背景
每个文档都有对应的
api label
,以便于相互引用,如Paddle/python/paddle/nn/functional/pooling.py
Line 192 in d34b4ea
我们目前针对
api label
进行了规范,现在英文的api label
的生成规则是'_api_' + self.api_name.replace('.', '_')
,比如paddle.jit.to_static
对应api_paddle_jit_to_static
(前面的下划线只是 label 的语法前缀而已,因此不包含最前面的下划线)英文
api label
一般出现在英文文档的引用中。目前的文档内容里仍留有不符合规范的英文 api label ,若不修复则会导致引用失效的问题。任务描述
我们提供了需要修改的
label name
,和其出现的次数,如下所示。请在 Paddle 代码中全局搜索相应的label name
, 并按照上述的规范进行修改。api_ParamAttr
api_base_CPUPlace
api_base_CUDAPlace
api_base_DataFeedDesc
api_base_LoDTensor_en
api_base_ParamAttr
api_base_Program
api_base_Tensor
api_base_clip_GradientClipByGlobalNorm
api_base_clip_GradientClipByNorm
api_base_clip_GradientClipByValue
api_base_create_lod_tensor
api_base_default_main_program
api_base_default_startup_program
api_base_dygraph_disable_dygraph
api_base_dygraph_enable_dygraph
api_base_dygraph_guard
api_base_dygraph_to_variable
api_base_io_firstn
api_base_io_load_params
api_base_io_shuffle
api_base_layers_DynamicRNN
api_base_layers_conv2d
api_base_layers_create_global_var
api_base_layers_create_tensor
api_base_layers_while_loop
api_base_layers_{1}
api_base_regularizer_L1Decay
api_base_regularizer_L2Decay
api_base_transpiler_HashName
api_base_transpiler_RoundRobin
api_fluid_ParamAttr
api_initializer_NumpyArrayInitializer
api_logical_xor
api_nn_Bilinear
api_nn_cn_elu
api_nn_cn_relu
api_nn_cn_softmax
api_nn_conv_ConvTranspose2d
api_nn_conv_ConvTranspose3d
api_nn_loss_BCELoss
api_nn_pooling_AdaptiveAvgPool1d
api_nn_pooling_AdaptiveMaxPool1d
api_nn_pooling_AdaptiveMaxPool2d
api_nn_pooling_AdaptiveMaxPool3d
api_nn_pooling_AvgPool1d
api_nn_pooling_AvgPool2d
api_nn_pooling_AvgPool3d
api_nn_pooling_MaxPool1d
api_nn_pooling_MaxPool2d
api_nn_pooling_MaxPool3d
api_nn_pooling_MaxUnPool2D
api_nn_vision_ChannelShuffle
api_sparse_pooling_MaxPool3d
api_static_nn_concat
api_static_nn_pool2d
api_static_nn_reshape
api_static_nn_reverse
api_static_nn_sequence_pad
api_static_nn_softmax
api_static_static_sequence_unpad
api_tensor_flatten
api_tensor_put_along_axis
api_tensor_uniform
任务流程
a. PR 标题: [Docathon] Fix xxx API Label
b. PR 内容: 描述修改的文件、附上该 issue 链接、 并 @ooooo-create @sunzhongkai588
The text was updated successfully, but these errors were encountered: