From 307947affbe55a55e00d404360eedd58ec156fce Mon Sep 17 00:00:00 2001 From: SigureMo Date: Thu, 16 Jun 2022 18:57:24 +0800 Subject: [PATCH 01/16] begin a pr (just a placeholder) --- docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst index 009fe06ff1a..757a084978b 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst @@ -5,7 +5,8 @@ shufflenet_v2_swish .. py:function:: paddle.vision.models.shufflenet_v2_swish(pretrained=False, **kwargs) - 使用 swish 进行激活的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 + +使用 swish 进行激活的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 参数 ::::::::: From e060b4b7058259b9298e39e631dd9fe725aafafe Mon Sep 17 00:00:00 2001 From: Nyakku Shigure Date: Fri, 17 Jun 2022 09:07:03 +0000 Subject: [PATCH 02/16] add a blank line --- docs/api/paddle/vision/models/AlexNet_cn.rst | 3 ++- docs/api/paddle/vision/models/DenseNet_cn.rst | 3 ++- docs/api/paddle/vision/models/GoogLeNet_cn.rst | 3 ++- docs/api/paddle/vision/models/InceptionV3_cn.rst | 3 ++- docs/api/paddle/vision/models/LeNet_cn.rst | 3 ++- docs/api/paddle/vision/models/MobileNetV1_cn.rst | 3 +-- docs/api/paddle/vision/models/MobileNetV2_cn.rst | 3 +-- docs/api/paddle/vision/models/MobileNetV3Large_cn.rst | 3 ++- docs/api/paddle/vision/models/MobileNetV3Small_cn.rst | 3 ++- docs/api/paddle/vision/models/ShuffleNetV2_cn.rst | 3 ++- docs/api/paddle/vision/models/SqueezeNet_cn.rst | 3 ++- docs/api/paddle/vision/models/VGG_cn.rst | 3 +-- docs/api/paddle/vision/models/alexnet_cn.rst | 2 +- docs/api/paddle/vision/models/densenet121_cn.rst | 3 ++- docs/api/paddle/vision/models/densenet161_cn.rst | 3 ++- docs/api/paddle/vision/models/densenet169_cn.rst | 3 ++- docs/api/paddle/vision/models/densenet201_cn.rst | 3 ++- docs/api/paddle/vision/models/densenet264_cn.rst | 3 ++- docs/api/paddle/vision/models/googlenet_cn.rst | 3 ++- docs/api/paddle/vision/models/inception_v3_cn.rst | 3 ++- docs/api/paddle/vision/models/mobilenet_v1_cn.rst | 3 ++- docs/api/paddle/vision/models/mobilenet_v2_cn.rst | 3 ++- docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst | 3 ++- docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst | 3 ++- docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst | 3 ++- docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst | 3 ++- docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst | 3 ++- docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst | 3 ++- docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst | 3 ++- docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst | 3 ++- docs/api/paddle/vision/models/squeezenet1_0_cn.rst | 3 ++- docs/api/paddle/vision/models/squeezenet1_1_cn.rst | 3 ++- docs/api/paddle/vision/models/vgg11_cn.rst | 3 ++- docs/api/paddle/vision/models/vgg13_cn.rst | 3 ++- docs/api/paddle/vision/models/vgg16_cn.rst | 3 ++- docs/api/paddle/vision/models/vgg19_cn.rst | 3 ++- 36 files changed, 68 insertions(+), 39 deletions(-) diff --git a/docs/api/paddle/vision/models/AlexNet_cn.rst b/docs/api/paddle/vision/models/AlexNet_cn.rst index a84d7829f4c..92e8b88b2f3 100644 --- a/docs/api/paddle/vision/models/AlexNet_cn.rst +++ b/docs/api/paddle/vision/models/AlexNet_cn.rst @@ -5,7 +5,8 @@ alexnet .. py:function:: paddle.vision.models.alexnet(pretrained=False, **kwargs) - AlexNet模型,来自论文 `"ImageNet Classification with Deep Convolutional Neural Networks" `_ 。 + +AlexNet模型,来自论文 `"ImageNet Classification with Deep Convolutional Neural Networks" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/DenseNet_cn.rst b/docs/api/paddle/vision/models/DenseNet_cn.rst index bb365cdcb32..aee85fcbb97 100644 --- a/docs/api/paddle/vision/models/DenseNet_cn.rst +++ b/docs/api/paddle/vision/models/DenseNet_cn.rst @@ -5,7 +5,8 @@ DenseNet .. py:class:: paddle.vision.models.DenseNet(layers=121, bn_size=4, dropout=0., num_classes=1000) - DenseNet模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 + +DenseNet模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/GoogLeNet_cn.rst b/docs/api/paddle/vision/models/GoogLeNet_cn.rst index e7aa1088d2b..a2a8e5ef06c 100644 --- a/docs/api/paddle/vision/models/GoogLeNet_cn.rst +++ b/docs/api/paddle/vision/models/GoogLeNet_cn.rst @@ -5,7 +5,8 @@ googlenet .. py:function:: paddle.vision.models.googlenet(pretrained=False, **kwargs) - GoogLeNet(Inception v1)模型,来自论文 `"Going Deeper with Convolutions" `_ 。 + +GoogLeNet(Inception v1)模型,来自论文 `"Going Deeper with Convolutions" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/InceptionV3_cn.rst b/docs/api/paddle/vision/models/InceptionV3_cn.rst index 43fa67ff64b..af345dbf4fe 100644 --- a/docs/api/paddle/vision/models/InceptionV3_cn.rst +++ b/docs/api/paddle/vision/models/InceptionV3_cn.rst @@ -5,7 +5,8 @@ InceptionV3 .. py:class:: paddle.vision.models.InceptionV3(num_classes=1000, with_pool=True) - InceptionV3模型,来自论文 `"Rethinking the Inception Architecture for Computer Vision" `_ 。 + +InceptionV3模型,来自论文 `"Rethinking the Inception Architecture for Computer Vision" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/LeNet_cn.rst b/docs/api/paddle/vision/models/LeNet_cn.rst index e275b82e85e..bcc91b3ffce 100644 --- a/docs/api/paddle/vision/models/LeNet_cn.rst +++ b/docs/api/paddle/vision/models/LeNet_cn.rst @@ -5,7 +5,8 @@ LeNet .. py:class:: paddle.vision.models.LeNet(num_classes=10) - LeNet模型,来自论文 `"Gradient-based learning applied to document recognition" `_ 。 + +LeNet模型,来自论文 `"Gradient-based learning applied to document recognition" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/MobileNetV1_cn.rst b/docs/api/paddle/vision/models/MobileNetV1_cn.rst index b419746f4ac..738cac67243 100644 --- a/docs/api/paddle/vision/models/MobileNetV1_cn.rst +++ b/docs/api/paddle/vision/models/MobileNetV1_cn.rst @@ -6,8 +6,7 @@ MobileNetV1 .. py:class:: paddle.vision.models.MobileNetV1(scale=1.0, num_classes=1000, with_pool=True) - - MobileNetV1模型,来自论文 `"MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications" `_ 。 +MobileNetV1模型,来自论文 `"MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/MobileNetV2_cn.rst b/docs/api/paddle/vision/models/MobileNetV2_cn.rst index 0c52ae174a3..f3f0d7e491e 100644 --- a/docs/api/paddle/vision/models/MobileNetV2_cn.rst +++ b/docs/api/paddle/vision/models/MobileNetV2_cn.rst @@ -6,8 +6,7 @@ MobileNetV2 .. py:class:: paddle.vision.models.MobileNetV2(scale=1.0, num_classes=1000, with_pool=True) - - MobileNetV2模型,来自论文 `"MobileNetV2: Inverted Residuals and Linear Bottlenecks" `_ 。 +MobileNetV2模型,来自论文 `"MobileNetV2: Inverted Residuals and Linear Bottlenecks" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/MobileNetV3Large_cn.rst b/docs/api/paddle/vision/models/MobileNetV3Large_cn.rst index 18a4e1e90d5..77ed1fddb4c 100644 --- a/docs/api/paddle/vision/models/MobileNetV3Large_cn.rst +++ b/docs/api/paddle/vision/models/MobileNetV3Large_cn.rst @@ -5,7 +5,8 @@ MobileNetV3Large .. py:class:: paddle.vision.models.MobileNetV3Large(scale=1.0, num_classes=1000, with_pool=True) - MobileNetV3Large模型,来自论文 `"Searching for MobileNetV3" `_ 。 + +MobileNetV3Large模型,来自论文 `"Searching for MobileNetV3" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/MobileNetV3Small_cn.rst b/docs/api/paddle/vision/models/MobileNetV3Small_cn.rst index c85b33325ec..7ad9f0a3f36 100644 --- a/docs/api/paddle/vision/models/MobileNetV3Small_cn.rst +++ b/docs/api/paddle/vision/models/MobileNetV3Small_cn.rst @@ -5,7 +5,8 @@ MobileNetV3Small .. py:class:: paddle.vision.models.MobileNetV3Small(scale=1.0, num_classes=1000, with_pool=True) - MobileNetV3Small模型,来自论文 `"Searching for MobileNetV3" `_ 。 + +MobileNetV3Small模型,来自论文 `"Searching for MobileNetV3" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/ShuffleNetV2_cn.rst b/docs/api/paddle/vision/models/ShuffleNetV2_cn.rst index 6fa92836c50..798af5e2172 100644 --- a/docs/api/paddle/vision/models/ShuffleNetV2_cn.rst +++ b/docs/api/paddle/vision/models/ShuffleNetV2_cn.rst @@ -5,7 +5,8 @@ ShuffleNetV2 .. py:class:: paddle.vision.models.ShuffleNetV2(scale=1.0, act="relu", num_classes=1000, with_pool=True) - ShuffleNetV2模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Design" `_ 。 + +ShuffleNetV2模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Design" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/SqueezeNet_cn.rst b/docs/api/paddle/vision/models/SqueezeNet_cn.rst index 16f01a03ed4..593200c239b 100644 --- a/docs/api/paddle/vision/models/SqueezeNet_cn.rst +++ b/docs/api/paddle/vision/models/SqueezeNet_cn.rst @@ -5,7 +5,8 @@ SqueezeNet .. py:function:: paddle.vision.models.SqueezeNet(version, num_classes=1000) - SqueezeNet模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size" `_ 。 + +SqueezeNet模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/VGG_cn.rst b/docs/api/paddle/vision/models/VGG_cn.rst index cadec370add..34b455f017d 100644 --- a/docs/api/paddle/vision/models/VGG_cn.rst +++ b/docs/api/paddle/vision/models/VGG_cn.rst @@ -6,8 +6,7 @@ VGG .. py:class:: paddle.vision.models.VGG(features, num_classes=1000, with_pool=True) - - VGG模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 +VGG模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/alexnet_cn.rst b/docs/api/paddle/vision/models/alexnet_cn.rst index 41a2617825c..ec8ee16f731 100644 --- a/docs/api/paddle/vision/models/alexnet_cn.rst +++ b/docs/api/paddle/vision/models/alexnet_cn.rst @@ -6,7 +6,7 @@ alexnet .. py:function:: paddle.vision.models.alexnet(pretrained=False, **kwargs) - AlexNet模型,来自论文 `"ImageNet Classification with Deep Convolutional Neural Networks" `_ 。 +AlexNet模型,来自论文 `"ImageNet Classification with Deep Convolutional Neural Networks" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet121_cn.rst b/docs/api/paddle/vision/models/densenet121_cn.rst index 9d4369b0978..eb353e4f50b 100644 --- a/docs/api/paddle/vision/models/densenet121_cn.rst +++ b/docs/api/paddle/vision/models/densenet121_cn.rst @@ -5,7 +5,8 @@ densenet121 .. py:function:: paddle.vision.models.densenet121(pretrained=False, **kwargs) - 121层的densenet模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 + +121层的densenet模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet161_cn.rst b/docs/api/paddle/vision/models/densenet161_cn.rst index e52d9267fbb..46073e1a173 100644 --- a/docs/api/paddle/vision/models/densenet161_cn.rst +++ b/docs/api/paddle/vision/models/densenet161_cn.rst @@ -5,7 +5,8 @@ densenet161 .. py:function:: paddle.vision.models.densenet161(pretrained=False, **kwargs) - 161层的densenet模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 + +161层的densenet模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet169_cn.rst b/docs/api/paddle/vision/models/densenet169_cn.rst index 44ccbeaa690..51a0d0345a0 100644 --- a/docs/api/paddle/vision/models/densenet169_cn.rst +++ b/docs/api/paddle/vision/models/densenet169_cn.rst @@ -5,7 +5,8 @@ densenet169 .. py:function:: paddle.vision.models.densenet169(pretrained=False, **kwargs) - 169层的densenet模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 + +169层的densenet模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet201_cn.rst b/docs/api/paddle/vision/models/densenet201_cn.rst index 0144e8ba045..acb3a402dad 100644 --- a/docs/api/paddle/vision/models/densenet201_cn.rst +++ b/docs/api/paddle/vision/models/densenet201_cn.rst @@ -5,7 +5,8 @@ densenet201 .. py:function:: paddle.vision.models.densenet201(pretrained=False, **kwargs) - 201层的densenet模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 + +201层的densenet模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet264_cn.rst b/docs/api/paddle/vision/models/densenet264_cn.rst index e5f42af7471..4c3f4cb1879 100644 --- a/docs/api/paddle/vision/models/densenet264_cn.rst +++ b/docs/api/paddle/vision/models/densenet264_cn.rst @@ -5,7 +5,8 @@ densenet264 .. py:function:: paddle.vision.models.densenet264(pretrained=False, **kwargs) - 264层的densenet模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 + +264层的densenet模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/googlenet_cn.rst b/docs/api/paddle/vision/models/googlenet_cn.rst index e7aa1088d2b..a2a8e5ef06c 100644 --- a/docs/api/paddle/vision/models/googlenet_cn.rst +++ b/docs/api/paddle/vision/models/googlenet_cn.rst @@ -5,7 +5,8 @@ googlenet .. py:function:: paddle.vision.models.googlenet(pretrained=False, **kwargs) - GoogLeNet(Inception v1)模型,来自论文 `"Going Deeper with Convolutions" `_ 。 + +GoogLeNet(Inception v1)模型,来自论文 `"Going Deeper with Convolutions" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/inception_v3_cn.rst b/docs/api/paddle/vision/models/inception_v3_cn.rst index 8b7dd984ec6..2c962323aef 100644 --- a/docs/api/paddle/vision/models/inception_v3_cn.rst +++ b/docs/api/paddle/vision/models/inception_v3_cn.rst @@ -5,7 +5,8 @@ inception_v3 .. py:function:: paddle.vision.models.inception_v3(pretrained=False, **kwargs) - InceptionV3模型,来自论文 `"Rethinking the Inception Architecture for Computer Vision" `_ 。 + +InceptionV3模型,来自论文 `"Rethinking the Inception Architecture for Computer Vision" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/mobilenet_v1_cn.rst b/docs/api/paddle/vision/models/mobilenet_v1_cn.rst index 97fc337ab95..57234341338 100644 --- a/docs/api/paddle/vision/models/mobilenet_v1_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v1_cn.rst @@ -5,7 +5,8 @@ mobilenet_v1 .. py:function:: paddle.vision.models.mobilenet_v1(pretrained=False, scale=1.0, **kwargs) - MobileNetV1模型,来自论文 `"MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications" `_ 。 + +MobileNetV1模型,来自论文 `"MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/mobilenet_v2_cn.rst b/docs/api/paddle/vision/models/mobilenet_v2_cn.rst index 69efa377ede..fa2f9fcb9fc 100644 --- a/docs/api/paddle/vision/models/mobilenet_v2_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v2_cn.rst @@ -5,7 +5,8 @@ mobilenet_v2 .. py:function:: paddle.vision.models.mobilenet_v2(pretrained=False, scale=1.0, **kwargs) - MobileNetV2模型,来自论文 `"MobileNetV2: Inverted Residuals and Linear Bottlenecks" `_ 。 + +MobileNetV2模型,来自论文 `"MobileNetV2: Inverted Residuals and Linear Bottlenecks" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst b/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst index 78faf4f354e..6574c08412f 100644 --- a/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst @@ -5,7 +5,8 @@ mobilenet_v3_large .. py:function:: paddle.vision.models.mobilenet_v3_large(pretrained=False, scale=1.0, **kwargs) - MobileNetV3Large模型,来自论文 `"Searching for MobileNetV3" `_ 。 + +MobileNetV3Large模型,来自论文 `"Searching for MobileNetV3" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst b/docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst index e31aaf94d86..2e4510db6bc 100644 --- a/docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst @@ -5,7 +5,8 @@ mobilenet_v3_small .. py:function:: paddle.vision.models.mobilenet_v3_small(pretrained=False, scale=1.0, **kwargs) - MobileNetV3Small模型,来自论文 `"Searching for MobileNetV3" `_ 。 + +MobileNetV3Small模型,来自论文 `"Searching for MobileNetV3" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst index 2f25de99aa4..02ab49d3051 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst @@ -5,7 +5,8 @@ shufflenet_v2_x0_25 .. py:function:: paddle.vision.models.shufflenet_v2_x0_25(pretrained=False, **kwargs) - 输出通道缩放比例为 0.25 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 + +输出通道缩放比例为 0.25 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst index 4089ee17ec5..93c665961c5 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst @@ -5,7 +5,8 @@ shufflenet_v2_x0_33 .. py:function:: paddle.vision.models.shufflenet_v2_x0_33(pretrained=False, **kwargs) - 输出通道缩放比例为 0.25 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 + +输出通道缩放比例为 0.25 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst index 2d17f425c8c..dd0c32d0cba 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst @@ -5,7 +5,8 @@ shufflenet_v2_x0_5 .. py:function:: paddle.vision.models.shufflenet_v2_x0_5(pretrained=False, **kwargs) - 输出通道缩放比例为 0.5 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 + +输出通道缩放比例为 0.5 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst index e412623e326..52045bbc82c 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst @@ -5,7 +5,8 @@ shufflenet_v2_x1_0 .. py:function:: paddle.vision.models.shufflenet_v2_x1_0(pretrained=False, **kwargs) - 输出通道缩放比例为 1.0 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 + +输出通道缩放比例为 1.0 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst index 2410f4089d2..42a77160194 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst @@ -5,7 +5,8 @@ shufflenet_v2_x1_5 .. py:function:: paddle.vision.models.shufflenet_v2_x1_5(pretrained=False, **kwargs) - 输出通道缩放比例为 1.5 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 + +输出通道缩放比例为 1.5 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst index 15604a1b580..34bd8dd7a49 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst @@ -5,7 +5,8 @@ shufflenet_v2_x2_0 .. py:function:: paddle.vision.models.shufflenet_v2_x2_0(pretrained=False, **kwargs) - 输出通道缩放比例为 2.0 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 + +输出通道缩放比例为 2.0 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/squeezenet1_0_cn.rst b/docs/api/paddle/vision/models/squeezenet1_0_cn.rst index 0821d3f8ec0..6402f20a5a4 100644 --- a/docs/api/paddle/vision/models/squeezenet1_0_cn.rst +++ b/docs/api/paddle/vision/models/squeezenet1_0_cn.rst @@ -5,7 +5,8 @@ squeezenet1_0 .. py:function:: paddle.vision.models.squeezenet1_0(pretrained=False, **kwargs) - squeezenet1_0模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size" `_ 。 + +squeezenet1_0模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/squeezenet1_1_cn.rst b/docs/api/paddle/vision/models/squeezenet1_1_cn.rst index 02387369d36..e0d7db3ed80 100644 --- a/docs/api/paddle/vision/models/squeezenet1_1_cn.rst +++ b/docs/api/paddle/vision/models/squeezenet1_1_cn.rst @@ -5,7 +5,8 @@ squeezenet1_1 .. py:function:: paddle.vision.models.squeezenet1_1(pretrained=False, **kwargs) - squeezenet1_1模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size" `_ 。 + +squeezenet1_1模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/vgg11_cn.rst b/docs/api/paddle/vision/models/vgg11_cn.rst index 681199a0541..7a863b2cb67 100644 --- a/docs/api/paddle/vision/models/vgg11_cn.rst +++ b/docs/api/paddle/vision/models/vgg11_cn.rst @@ -5,7 +5,8 @@ vgg11 .. py:function:: paddle.vision.models.vgg11(pretrained=False, batch_norm=False, **kwargs) - vgg11模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 + +vgg11模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/vgg13_cn.rst b/docs/api/paddle/vision/models/vgg13_cn.rst index ab8834ae5a8..eb68bbd3ea3 100644 --- a/docs/api/paddle/vision/models/vgg13_cn.rst +++ b/docs/api/paddle/vision/models/vgg13_cn.rst @@ -5,7 +5,8 @@ vgg13 .. py:function:: paddle.vision.models.vgg13(pretrained=False, batch_norm=False, **kwargs) - vgg13模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 + +vgg13模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/vgg16_cn.rst b/docs/api/paddle/vision/models/vgg16_cn.rst index d351ab4d322..01edf2a2afa 100644 --- a/docs/api/paddle/vision/models/vgg16_cn.rst +++ b/docs/api/paddle/vision/models/vgg16_cn.rst @@ -5,7 +5,8 @@ vgg16 .. py:function:: paddle.vision.models.vgg16(pretrained=False, batch_norm=False, **kwargs) - vgg16模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 + +vgg16模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/vgg19_cn.rst b/docs/api/paddle/vision/models/vgg19_cn.rst index ca75697b73f..1636bebd7fa 100644 --- a/docs/api/paddle/vision/models/vgg19_cn.rst +++ b/docs/api/paddle/vision/models/vgg19_cn.rst @@ -5,7 +5,8 @@ vgg19 .. py:function:: paddle.vision.models.vgg19(pretrained=False, batch_norm=False, **kwargs) - vgg19模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 + +vgg19模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 参数 ::::::::: From a5633c79202cba702e68a5bdf92c2253be281e51 Mon Sep 17 00:00:00 2001 From: Nyakku Shigure Date: Fri, 17 Jun 2022 09:20:20 +0000 Subject: [PATCH 03/16] add space between cn and en char --- docs/api/paddle/vision/models/AlexNet_cn.rst | 6 +++--- docs/api/paddle/vision/models/DenseNet_cn.rst | 8 ++++---- docs/api/paddle/vision/models/GoogLeNet_cn.rst | 4 ++-- docs/api/paddle/vision/models/InceptionV3_cn.rst | 6 +++--- docs/api/paddle/vision/models/LeNet_cn.rst | 2 +- docs/api/paddle/vision/models/MobileNetV1_cn.rst | 2 +- docs/api/paddle/vision/models/MobileNetV2_cn.rst | 4 ++-- docs/api/paddle/vision/models/MobileNetV3Large_cn.rst | 2 +- docs/api/paddle/vision/models/MobileNetV3Small_cn.rst | 4 ++-- docs/api/paddle/vision/models/ShuffleNetV2_cn.rst | 6 +++--- docs/api/paddle/vision/models/SqueezeNet_cn.rst | 6 +++--- docs/api/paddle/vision/models/VGG_cn.rst | 8 ++++---- docs/api/paddle/vision/models/alexnet_cn.rst | 6 +++--- docs/api/paddle/vision/models/densenet121_cn.rst | 6 +++--- docs/api/paddle/vision/models/densenet161_cn.rst | 6 +++--- docs/api/paddle/vision/models/densenet169_cn.rst | 6 +++--- docs/api/paddle/vision/models/densenet201_cn.rst | 6 +++--- docs/api/paddle/vision/models/densenet264_cn.rst | 6 +++--- docs/api/paddle/vision/models/googlenet_cn.rst | 4 ++-- docs/api/paddle/vision/models/inception_v3_cn.rst | 6 +++--- docs/api/paddle/vision/models/mobilenet_v1_cn.rst | 6 +++--- docs/api/paddle/vision/models/mobilenet_v2_cn.rst | 4 ++-- docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst | 6 +++--- docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst | 6 +++--- docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst | 4 ++-- docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst | 4 ++-- docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst | 4 ++-- docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst | 4 ++-- docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst | 4 ++-- docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst | 4 ++-- docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst | 4 ++-- docs/api/paddle/vision/models/squeezenet1_0_cn.rst | 6 +++--- docs/api/paddle/vision/models/squeezenet1_1_cn.rst | 6 +++--- docs/api/paddle/vision/models/vgg11_cn.rst | 6 +++--- docs/api/paddle/vision/models/vgg13_cn.rst | 6 +++--- docs/api/paddle/vision/models/vgg16_cn.rst | 6 +++--- docs/api/paddle/vision/models/vgg19_cn.rst | 6 +++--- 37 files changed, 95 insertions(+), 95 deletions(-) diff --git a/docs/api/paddle/vision/models/AlexNet_cn.rst b/docs/api/paddle/vision/models/AlexNet_cn.rst index 92e8b88b2f3..88a049c844b 100644 --- a/docs/api/paddle/vision/models/AlexNet_cn.rst +++ b/docs/api/paddle/vision/models/AlexNet_cn.rst @@ -6,15 +6,15 @@ alexnet .. py:function:: paddle.vision.models.alexnet(pretrained=False, **kwargs) -AlexNet模型,来自论文 `"ImageNet Classification with Deep Convolutional Neural Networks" `_ 。 +AlexNet 模型,来自论文 `"ImageNet Classification with Deep Convolutional Neural Networks" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: -alexnet模型,Layer的实例。 +alexnet 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/DenseNet_cn.rst b/docs/api/paddle/vision/models/DenseNet_cn.rst index aee85fcbb97..65b29adc9f5 100644 --- a/docs/api/paddle/vision/models/DenseNet_cn.rst +++ b/docs/api/paddle/vision/models/DenseNet_cn.rst @@ -6,19 +6,19 @@ DenseNet .. py:class:: paddle.vision.models.DenseNet(layers=121, bn_size=4, dropout=0., num_classes=1000) -DenseNet模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 +DenseNet 模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 参数 ::::::::: - - **layers** (int,可选) - densenet的层数。默认值:121。 - - **bn_size** (int,可选) - 中间层growth rate的拓展倍数。默认值:4。 + - **layers** (int,可选) - densenet 的层数。默认值:121。 + - **bn_size** (int,可选) - 中间层 growth rate 的拓展倍数。默认值:4。 - **dropout** (float,可选) - dropout rate。默认值:0.。 - **num_classes** (int,可选) - 类别数目,即最后一个全连接层输出的维度。默认值:1000。 - **with_pool** (bool,可选) - 是否定义最后一个全连接层之前的池化层。默认值:True。 返回 ::::::::: -DenseNet模型,Layer的实例。 +DenseNet 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/GoogLeNet_cn.rst b/docs/api/paddle/vision/models/GoogLeNet_cn.rst index a2a8e5ef06c..d512452edfc 100644 --- a/docs/api/paddle/vision/models/GoogLeNet_cn.rst +++ b/docs/api/paddle/vision/models/GoogLeNet_cn.rst @@ -10,11 +10,11 @@ GoogLeNet(Inception v1)模型,来自论文 `"Going Deeper with Convolution 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: -GoogLeNet模型,Layer的实例。 +GoogLeNet 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/InceptionV3_cn.rst b/docs/api/paddle/vision/models/InceptionV3_cn.rst index af345dbf4fe..efa05f91b5e 100644 --- a/docs/api/paddle/vision/models/InceptionV3_cn.rst +++ b/docs/api/paddle/vision/models/InceptionV3_cn.rst @@ -6,16 +6,16 @@ InceptionV3 .. py:class:: paddle.vision.models.InceptionV3(num_classes=1000, with_pool=True) -InceptionV3模型,来自论文 `"Rethinking the Inception Architecture for Computer Vision" `_ 。 +InceptionV3 模型,来自论文 `"Rethinking the Inception Architecture for Computer Vision" `_ 。 参数 ::::::::: - - **num_classes** (int,可选) - 最后一个全连接层输出的维度。如果该值小于0,则不定义最后一个全连接层。默认值:1000。 + - **num_classes** (int,可选) - 最后一个全连接层输出的维度。如果该值小于 0,则不定义最后一个全连接层。默认值:1000。 - **with_pool** (bool,可选) - 是否定义最后一个全连接层之前的池化层。默认值:True。 返回 ::::::::: -InceptionV3模型,Layer的实例。 +InceptionV3 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/LeNet_cn.rst b/docs/api/paddle/vision/models/LeNet_cn.rst index bcc91b3ffce..1b0dabe7bfc 100644 --- a/docs/api/paddle/vision/models/LeNet_cn.rst +++ b/docs/api/paddle/vision/models/LeNet_cn.rst @@ -6,7 +6,7 @@ LeNet .. py:class:: paddle.vision.models.LeNet(num_classes=10) -LeNet模型,来自论文 `"Gradient-based learning applied to document recognition" `_ 。 +LeNet 模型,来自论文 `"Gradient-based learning applied to document recognition" `_ 。 参数 ::::::::: diff --git a/docs/api/paddle/vision/models/MobileNetV1_cn.rst b/docs/api/paddle/vision/models/MobileNetV1_cn.rst index 738cac67243..3f20b2668bf 100644 --- a/docs/api/paddle/vision/models/MobileNetV1_cn.rst +++ b/docs/api/paddle/vision/models/MobileNetV1_cn.rst @@ -16,7 +16,7 @@ MobileNetV1模型,来自论文 `"MobileNets: Efficient Convolutional Neural Ne 返回 ::::::::: -mobilenetv1模型,Layer的实例。 +mobilenetv1 模型,Layer的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/MobileNetV2_cn.rst b/docs/api/paddle/vision/models/MobileNetV2_cn.rst index f3f0d7e491e..ca64de7139c 100644 --- a/docs/api/paddle/vision/models/MobileNetV2_cn.rst +++ b/docs/api/paddle/vision/models/MobileNetV2_cn.rst @@ -11,12 +11,12 @@ MobileNetV2模型,来自论文 `"MobileNetV2: Inverted Residuals and Linear Bo 参数 ::::::::: - **scale** (float,可选) - 模型通道数的缩放比例。默认值:1.0。 - - **num_classes** (int,可选) - 最后一个全连接层输出的维度。如果该值小于0,则不定义最后一个全连接层。默认值:1000。 + - **num_classes** (int,可选) - 最后一个全连接层输出的维度。如果该值小于 0,则不定义最后一个全连接层。默认值:1000。 - **with_pool** (bool,可选) - 是否定义最后一个全连接层之前的池化层。默认值:True。 返回 ::::::::: -mobilenetv2模型,Layer的实例。 +mobilenetv2 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/MobileNetV3Large_cn.rst b/docs/api/paddle/vision/models/MobileNetV3Large_cn.rst index 77ed1fddb4c..7f2f8dee825 100644 --- a/docs/api/paddle/vision/models/MobileNetV3Large_cn.rst +++ b/docs/api/paddle/vision/models/MobileNetV3Large_cn.rst @@ -16,7 +16,7 @@ MobileNetV3Large模型,来自论文 `"Searching for MobileNetV3" `_ 。 +MobileNetV3Small 模型,来自论文 `"Searching for MobileNetV3" `_ 。 参数 ::::::::: @@ -16,7 +16,7 @@ MobileNetV3Small模型,来自论文 `"Searching for MobileNetV3" `_ 。 +ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Design" `_ 。 参数 ::::::::: - **scale** (float,可选) - 模型通道数的缩放比例。默认值:1.0。 - **act** (str,可选) - 网络中使用的激活函数。默认值:"relu"。 - - **num_classes** (int,可选) - 最后一个全连接层输出的维度。如果该值小于0,则不定义最后一个全连接层。默认值:1000。 + - **num_classes** (int,可选) - 最后一个全连接层输出的维度。如果该值小于 0,则不定义最后一个全连接层。默认值:1000。 - **with_pool** (bool,可选) - 是否定义最后一个全连接层之前的池化层。默认值:True。 返回 ::::::::: -ShuffleNetV2模型,Layer的实例。 +ShuffleNetV2 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/SqueezeNet_cn.rst b/docs/api/paddle/vision/models/SqueezeNet_cn.rst index 593200c239b..5a3b907b8d6 100644 --- a/docs/api/paddle/vision/models/SqueezeNet_cn.rst +++ b/docs/api/paddle/vision/models/SqueezeNet_cn.rst @@ -6,17 +6,17 @@ SqueezeNet .. py:function:: paddle.vision.models.SqueezeNet(version, num_classes=1000) -SqueezeNet模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size" `_ 。 +SqueezeNet 模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size" `_ 。 参数 ::::::::: - - **version** (str) - SqueezeNet的版本,有"1.0"和"1.1"可选。默认值:"1.1"。 + - **version** (str) - SqueezeNet 的版本,有 "1.0" 和 "1.1" 可选。默认值:"1.1"。 - **num_classes** (int,可选) - 分类的类别数目。默认值:1000。 - **with_pool** (bool,可选) - 是否定义最后一个全连接层之前的池化层。默认值:True。 返回 ::::::::: -SqueezeNet模型,Layer的实例。 +SqueezeNet 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/VGG_cn.rst b/docs/api/paddle/vision/models/VGG_cn.rst index 34b455f017d..f82be82b65a 100644 --- a/docs/api/paddle/vision/models/VGG_cn.rst +++ b/docs/api/paddle/vision/models/VGG_cn.rst @@ -6,17 +6,17 @@ VGG .. py:class:: paddle.vision.models.VGG(features, num_classes=1000, with_pool=True) -VGG模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 +VGG 模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 参数 ::::::::: - - **features** (Layer) - vgg模型的特征层。由函数make_layers产生。 - - **num_classes** (int,可选) - 最后一个全连接层输出的维度。如果该值小于等于0,则不定义最后一个全连接层。默认值:1000。 + - **features** (Layer) - vgg 模型的特征层。由函数 make_layers 产生。 + - **num_classes** (int,可选) - 最后一个全连接层输出的维度。如果该值小于等于 0,则不定义最后一个全连接层。默认值:1000。 - **with_pool** (bool,可选) - 是否在最后三个全连接层前使用池化。默认值:True。 返回 ::::::::: -vgg模型,Layer的实例。 +vgg 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/alexnet_cn.rst b/docs/api/paddle/vision/models/alexnet_cn.rst index ec8ee16f731..94246fa9056 100644 --- a/docs/api/paddle/vision/models/alexnet_cn.rst +++ b/docs/api/paddle/vision/models/alexnet_cn.rst @@ -6,15 +6,15 @@ alexnet .. py:function:: paddle.vision.models.alexnet(pretrained=False, **kwargs) -AlexNet模型,来自论文 `"ImageNet Classification with Deep Convolutional Neural Networks" `_ 。 +AlexNet 模型,来自论文 `"ImageNet Classification with Deep Convolutional Neural Networks" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`AlexNet `。 返回 ::::::::: -alexnet模型,Layer的实例。 +alexnet 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet121_cn.rst b/docs/api/paddle/vision/models/densenet121_cn.rst index eb353e4f50b..1d3518085d9 100644 --- a/docs/api/paddle/vision/models/densenet121_cn.rst +++ b/docs/api/paddle/vision/models/densenet121_cn.rst @@ -6,15 +6,15 @@ densenet121 .. py:function:: paddle.vision.models.densenet121(pretrained=False, **kwargs) -121层的densenet模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 +121 层的 densenet 模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: -densenet121模型,Layer的实例。 +densenet121 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet161_cn.rst b/docs/api/paddle/vision/models/densenet161_cn.rst index 46073e1a173..915feb1159b 100644 --- a/docs/api/paddle/vision/models/densenet161_cn.rst +++ b/docs/api/paddle/vision/models/densenet161_cn.rst @@ -6,15 +6,15 @@ densenet161 .. py:function:: paddle.vision.models.densenet161(pretrained=False, **kwargs) -161层的densenet模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 +161 层的 densenet 模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: -densenet161模型,Layer的实例。 +densenet161 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet169_cn.rst b/docs/api/paddle/vision/models/densenet169_cn.rst index 51a0d0345a0..bddcc45dbed 100644 --- a/docs/api/paddle/vision/models/densenet169_cn.rst +++ b/docs/api/paddle/vision/models/densenet169_cn.rst @@ -6,15 +6,15 @@ densenet169 .. py:function:: paddle.vision.models.densenet169(pretrained=False, **kwargs) -169层的densenet模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 +169 层的 densenet 模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: -densenet169模型,Layer的实例。 +densenet169 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet201_cn.rst b/docs/api/paddle/vision/models/densenet201_cn.rst index acb3a402dad..15a375e3699 100644 --- a/docs/api/paddle/vision/models/densenet201_cn.rst +++ b/docs/api/paddle/vision/models/densenet201_cn.rst @@ -6,15 +6,15 @@ densenet201 .. py:function:: paddle.vision.models.densenet201(pretrained=False, **kwargs) -201层的densenet模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 +201 层的 densenet 模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: -densenet201模型,Layer的实例。 +densenet201 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet264_cn.rst b/docs/api/paddle/vision/models/densenet264_cn.rst index 4c3f4cb1879..6aae709ecfa 100644 --- a/docs/api/paddle/vision/models/densenet264_cn.rst +++ b/docs/api/paddle/vision/models/densenet264_cn.rst @@ -6,15 +6,15 @@ densenet264 .. py:function:: paddle.vision.models.densenet264(pretrained=False, **kwargs) -264层的densenet模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 +264 层的 densenet 模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: -densenet264模型,Layer的实例。 +densenet264 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/googlenet_cn.rst b/docs/api/paddle/vision/models/googlenet_cn.rst index a2a8e5ef06c..d512452edfc 100644 --- a/docs/api/paddle/vision/models/googlenet_cn.rst +++ b/docs/api/paddle/vision/models/googlenet_cn.rst @@ -10,11 +10,11 @@ GoogLeNet(Inception v1)模型,来自论文 `"Going Deeper with Convolution 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: -GoogLeNet模型,Layer的实例。 +GoogLeNet 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/inception_v3_cn.rst b/docs/api/paddle/vision/models/inception_v3_cn.rst index 2c962323aef..eace9a7798e 100644 --- a/docs/api/paddle/vision/models/inception_v3_cn.rst +++ b/docs/api/paddle/vision/models/inception_v3_cn.rst @@ -6,15 +6,15 @@ inception_v3 .. py:function:: paddle.vision.models.inception_v3(pretrained=False, **kwargs) -InceptionV3模型,来自论文 `"Rethinking the Inception Architecture for Computer Vision" `_ 。 +InceptionV3 模型,来自论文 `"Rethinking the Inception Architecture for Computer Vision" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: -InceptionV3模型,Layer的实例。 +InceptionV3 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/mobilenet_v1_cn.rst b/docs/api/paddle/vision/models/mobilenet_v1_cn.rst index 57234341338..a797dac92d2 100644 --- a/docs/api/paddle/vision/models/mobilenet_v1_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v1_cn.rst @@ -6,16 +6,16 @@ mobilenet_v1 .. py:function:: paddle.vision.models.mobilenet_v1(pretrained=False, scale=1.0, **kwargs) -MobileNetV1模型,来自论文 `"MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications" `_ 。 +MobileNetV1 模型,来自论文 `"MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 - **scale** (float,可选) - 模型通道数的缩放比例。默认值:1.0。 返回 ::::::::: -mobilenetv1模型,Layer的实例。 +mobilenetv1 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/mobilenet_v2_cn.rst b/docs/api/paddle/vision/models/mobilenet_v2_cn.rst index fa2f9fcb9fc..86c52368f95 100644 --- a/docs/api/paddle/vision/models/mobilenet_v2_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v2_cn.rst @@ -10,12 +10,12 @@ MobileNetV2模型,来自论文 `"MobileNetV2: Inverted Residuals and Linear Bo 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 - **scale** (float,可选) - 模型通道数的缩放比例。默认值:1.0。 返回 ::::::::: -mobilenetv2模型,Layer的实例。 +mobilenetv2 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst b/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst index 6574c08412f..8e369dcea6d 100644 --- a/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst @@ -6,16 +6,16 @@ mobilenet_v3_large .. py:function:: paddle.vision.models.mobilenet_v3_large(pretrained=False, scale=1.0, **kwargs) -MobileNetV3Large模型,来自论文 `"Searching for MobileNetV3" `_ 。 +MobileNetV3Large 模型,来自论文 `"Searching for MobileNetV3" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 - **scale** (float,可选) - 模型通道数的缩放比例。默认值:1.0。 返回 ::::::::: -mobilenetv3 large模型,Layer的实例。 +mobilenetv3 large 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst b/docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst index 2e4510db6bc..3ea15e8f05c 100644 --- a/docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst @@ -6,16 +6,16 @@ mobilenet_v3_small .. py:function:: paddle.vision.models.mobilenet_v3_small(pretrained=False, scale=1.0, **kwargs) -MobileNetV3Small模型,来自论文 `"Searching for MobileNetV3" `_ 。 +MobileNetV3Small 模型,来自论文 `"Searching for MobileNetV3" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 - **scale** (float,可选) - 模型通道数的缩放比例。默认值:1.0。 返回 ::::::::: -mobilenetv3 small模型,Layer的实例。 +mobilenetv3 small 模型,Layer的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst index 757a084978b..087c84d772f 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst @@ -10,11 +10,11 @@ shufflenet_v2_swish 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: -shufflenet_v2_swish模型,Layer的实例。 +shufflenet_v2_swish 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst index 02ab49d3051..3f0f7e63694 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst @@ -10,11 +10,11 @@ shufflenet_v2_x0_25 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: -shufflenet_v2_x0_25模型,Layer的实例。 +shufflenet_v2_x0_25 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst index 93c665961c5..e6153c771e5 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst @@ -10,11 +10,11 @@ shufflenet_v2_x0_33 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: -shufflenet_v2_x0_33模型,Layer的实例。 +shufflenet_v2_x0_33 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst index dd0c32d0cba..d3ad7e2f679 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst @@ -10,11 +10,11 @@ shufflenet_v2_x0_5 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: -shufflenet_v2_x0_5模型,Layer的实例。 +shufflenet_v2_x0_5 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst index 52045bbc82c..6cf200279bf 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst @@ -10,11 +10,11 @@ shufflenet_v2_x1_0 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: -shufflenet_v2_x1_0模型,Layer的实例。 +shufflenet_v2_x1_0 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst index 42a77160194..acc93f668a5 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst @@ -10,11 +10,11 @@ shufflenet_v2_x1_5 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: -shufflenet_v2_x1_5模型,Layer的实例。 +shufflenet_v2_x1_5 模型,Layer的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst index 34bd8dd7a49..7f0754e5f13 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst @@ -10,11 +10,11 @@ shufflenet_v2_x2_0 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: -shufflenet_v2_x2_0模型,Layer的实例。 +shufflenet_v2_x2_0 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/squeezenet1_0_cn.rst b/docs/api/paddle/vision/models/squeezenet1_0_cn.rst index 6402f20a5a4..833db8532e0 100644 --- a/docs/api/paddle/vision/models/squeezenet1_0_cn.rst +++ b/docs/api/paddle/vision/models/squeezenet1_0_cn.rst @@ -6,15 +6,15 @@ squeezenet1_0 .. py:function:: paddle.vision.models.squeezenet1_0(pretrained=False, **kwargs) -squeezenet1_0模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size" `_ 。 +squeezenet1_0 模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: -squeezenet1_0模型,Layer的实例。 +squeezenet1_0 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/squeezenet1_1_cn.rst b/docs/api/paddle/vision/models/squeezenet1_1_cn.rst index e0d7db3ed80..2d74ec74c26 100644 --- a/docs/api/paddle/vision/models/squeezenet1_1_cn.rst +++ b/docs/api/paddle/vision/models/squeezenet1_1_cn.rst @@ -6,15 +6,15 @@ squeezenet1_1 .. py:function:: paddle.vision.models.squeezenet1_1(pretrained=False, **kwargs) -squeezenet1_1模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size" `_ 。 +squeezenet1_1 模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: -squeezenet1_1模型,Layer的实例。 +squeezenet1_1 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/vgg11_cn.rst b/docs/api/paddle/vision/models/vgg11_cn.rst index 7a863b2cb67..47bd26e67e0 100644 --- a/docs/api/paddle/vision/models/vgg11_cn.rst +++ b/docs/api/paddle/vision/models/vgg11_cn.rst @@ -6,16 +6,16 @@ vgg11 .. py:function:: paddle.vision.models.vgg11(pretrained=False, batch_norm=False, **kwargs) -vgg11模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 +vgg11 模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 - **batch_norm** (bool,可选) - 是否在每个卷积层后添加批归一化层。默认值:False。 返回 ::::::::: -vgg11模型,Layer的实例。 +vgg11 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/vgg13_cn.rst b/docs/api/paddle/vision/models/vgg13_cn.rst index eb68bbd3ea3..f619d5583c1 100644 --- a/docs/api/paddle/vision/models/vgg13_cn.rst +++ b/docs/api/paddle/vision/models/vgg13_cn.rst @@ -6,16 +6,16 @@ vgg13 .. py:function:: paddle.vision.models.vgg13(pretrained=False, batch_norm=False, **kwargs) -vgg13模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 +vgg13 模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 - **batch_norm** (bool,可选) - 是否在每个卷积层后添加批归一化层。默认值:False。 返回 ::::::::: -vgg13模型,Layer的实例。 +vgg13 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/vgg16_cn.rst b/docs/api/paddle/vision/models/vgg16_cn.rst index 01edf2a2afa..b8bed8ad9a3 100644 --- a/docs/api/paddle/vision/models/vgg16_cn.rst +++ b/docs/api/paddle/vision/models/vgg16_cn.rst @@ -6,16 +6,16 @@ vgg16 .. py:function:: paddle.vision.models.vgg16(pretrained=False, batch_norm=False, **kwargs) -vgg16模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 +vgg16 模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 - **batch_norm** (bool,可选) - 是否在每个卷积层后添加批归一化层。默认值:False。 返回 ::::::::: -vgg16模型,Layer的实例。 +vgg16 模型,Layer 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/vgg19_cn.rst b/docs/api/paddle/vision/models/vgg19_cn.rst index 1636bebd7fa..0a0015c903f 100644 --- a/docs/api/paddle/vision/models/vgg19_cn.rst +++ b/docs/api/paddle/vision/models/vgg19_cn.rst @@ -6,16 +6,16 @@ vgg19 .. py:function:: paddle.vision.models.vgg19(pretrained=False, batch_norm=False, **kwargs) -vgg19模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 +vgg19 模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在imagenet数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 - **batch_norm** (bool,可选) - 是否在每个卷积层后添加批归一化层。默认值:False。 返回 ::::::::: -vgg19模型,Layer的实例。 +vgg19 模型,Layer 的实例。 代码示例 ::::::::: From b69f7b930b133b153021315e1b9305794e0f7fca Mon Sep 17 00:00:00 2001 From: Nyakku Shigure Date: Fri, 17 Jun 2022 10:36:08 +0000 Subject: [PATCH 04/16] "sing `COPY-FROM` --- docs/api/paddle/vision/models/AlexNet_cn.rst | 19 +++---------------- docs/api/paddle/vision/models/DenseNet_cn.rst | 12 +----------- .../api/paddle/vision/models/GoogLeNet_cn.rst | 19 +++---------------- .../paddle/vision/models/InceptionV3_cn.rst | 11 +---------- docs/api/paddle/vision/models/LeNet_cn.rst | 11 +---------- .../paddle/vision/models/MobileNetV1_cn.rst | 3 ++- .../paddle/vision/models/MobileNetV2_cn.rst | 3 ++- .../vision/models/MobileNetV3Large_cn.rst | 15 ++------------- .../vision/models/MobileNetV3Small_cn.rst | 13 +------------ .../paddle/vision/models/ShuffleNetV2_cn.rst | 11 +---------- .../paddle/vision/models/SqueezeNet_cn.rst | 15 +-------------- docs/api/paddle/vision/models/VGG_cn.rst | 2 +- docs/api/paddle/vision/models/alexnet_cn.rst | 2 +- .../paddle/vision/models/densenet121_cn.rst | 15 +-------------- .../paddle/vision/models/densenet161_cn.rst | 15 +-------------- .../paddle/vision/models/densenet169_cn.rst | 15 +-------------- .../paddle/vision/models/densenet201_cn.rst | 15 +-------------- .../paddle/vision/models/densenet264_cn.rst | 15 +-------------- .../api/paddle/vision/models/googlenet_cn.rst | 15 +-------------- .../paddle/vision/models/inception_v3_cn.rst | 15 +-------------- .../paddle/vision/models/mobilenet_v1_cn.rst | 19 +------------------ .../paddle/vision/models/mobilenet_v2_cn.rst | 19 +------------------ .../vision/models/mobilenet_v3_large_cn.rst | 19 +------------------ .../vision/models/mobilenet_v3_small_cn.rst | 19 +------------------ .../vision/models/shufflenet_v2_swish_cn.rst | 15 +-------------- .../vision/models/shufflenet_v2_x0_25_cn.rst | 15 +-------------- .../vision/models/shufflenet_v2_x0_33_cn.rst | 15 +-------------- .../vision/models/shufflenet_v2_x0_5_cn.rst | 15 +-------------- .../vision/models/shufflenet_v2_x1_0_cn.rst | 15 +-------------- .../vision/models/shufflenet_v2_x1_5_cn.rst | 15 +-------------- .../vision/models/shufflenet_v2_x2_0_cn.rst | 16 +--------------- .../paddle/vision/models/squeezenet1_0_cn.rst | 15 +-------------- .../paddle/vision/models/squeezenet1_1_cn.rst | 14 +------------- docs/api/paddle/vision/models/vgg11_cn.rst | 15 +-------------- docs/api/paddle/vision/models/vgg13_cn.rst | 15 +-------------- docs/api/paddle/vision/models/vgg16_cn.rst | 16 +--------------- docs/api/paddle/vision/models/vgg19_cn.rst | 16 +--------------- 37 files changed, 44 insertions(+), 470 deletions(-) diff --git a/docs/api/paddle/vision/models/AlexNet_cn.rst b/docs/api/paddle/vision/models/AlexNet_cn.rst index 88a049c844b..13e01f14dca 100644 --- a/docs/api/paddle/vision/models/AlexNet_cn.rst +++ b/docs/api/paddle/vision/models/AlexNet_cn.rst @@ -1,6 +1,6 @@ -.. _cn_api_paddle_vision_models_alexnet: +.. _cn_api_paddle_vision_models_AlexNet: -alexnet +AlexNet ------------------------------- .. py:function:: paddle.vision.models.alexnet(pretrained=False, **kwargs) @@ -18,18 +18,5 @@ alexnet 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import alexnet - - # build model - model = alexnet() - - # build model and load imagenet pretrained weight - # model = alexnet(pretrained=True) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.AlexNet diff --git a/docs/api/paddle/vision/models/DenseNet_cn.rst b/docs/api/paddle/vision/models/DenseNet_cn.rst index 65b29adc9f5..975e62589aa 100644 --- a/docs/api/paddle/vision/models/DenseNet_cn.rst +++ b/docs/api/paddle/vision/models/DenseNet_cn.rst @@ -22,15 +22,5 @@ DenseNet 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import DenseNet - - # build model - densenet = DenseNet() - - x = paddle.rand([1, 3, 224, 224]) - out = densenet(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.DenseNet diff --git a/docs/api/paddle/vision/models/GoogLeNet_cn.rst b/docs/api/paddle/vision/models/GoogLeNet_cn.rst index d512452edfc..67c3362fbe4 100644 --- a/docs/api/paddle/vision/models/GoogLeNet_cn.rst +++ b/docs/api/paddle/vision/models/GoogLeNet_cn.rst @@ -1,6 +1,6 @@ -.. _cn_api_paddle_vision_models_googlenet: +.. _cn_api_paddle_vision_models_GoogLeNet: -googlenet +GoogLeNet ------------------------------- .. py:function:: paddle.vision.models.googlenet(pretrained=False, **kwargs) @@ -18,18 +18,5 @@ GoogLeNet 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import googlenet - - # build model - model = googlenet() - - # build model and load imagenet pretrained weight - # model = googlenet(pretrained=True) - - x = paddle.rand([1, 3, 224, 224]) - out, out1, out2 = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.GoogLeNet diff --git a/docs/api/paddle/vision/models/InceptionV3_cn.rst b/docs/api/paddle/vision/models/InceptionV3_cn.rst index efa05f91b5e..59b5d6298a4 100644 --- a/docs/api/paddle/vision/models/InceptionV3_cn.rst +++ b/docs/api/paddle/vision/models/InceptionV3_cn.rst @@ -19,14 +19,5 @@ InceptionV3 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import InceptionV3 - - inception_v3 = InceptionV3() - - x = paddle.rand([1, 3, 299, 299]) - out = inception_v3(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.InceptionV3 diff --git a/docs/api/paddle/vision/models/LeNet_cn.rst b/docs/api/paddle/vision/models/LeNet_cn.rst index 1b0dabe7bfc..6c00e8cbc76 100644 --- a/docs/api/paddle/vision/models/LeNet_cn.rst +++ b/docs/api/paddle/vision/models/LeNet_cn.rst @@ -15,14 +15,5 @@ LeNet 模型,来自论文 `"Gradient-based learning applied to document recogn 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import LeNet - - model = LeNet() - - x = paddle.rand([1, 1, 28, 28]) - out = model(x) - - print(out.shape) \ No newline at end of file +COPY-FROM: paddle.vision.models.LeNet diff --git a/docs/api/paddle/vision/models/MobileNetV1_cn.rst b/docs/api/paddle/vision/models/MobileNetV1_cn.rst index 3f20b2668bf..a5563a1bd0d 100644 --- a/docs/api/paddle/vision/models/MobileNetV1_cn.rst +++ b/docs/api/paddle/vision/models/MobileNetV1_cn.rst @@ -20,5 +20,6 @@ mobilenetv1 模型,Layer的实例。 代码示例 ::::::::: -COPY-FROM: paddle.vision.models.MobileNetV1:code-example1 + +COPY-FROM: paddle.vision.models.MobileNetV1 diff --git a/docs/api/paddle/vision/models/MobileNetV2_cn.rst b/docs/api/paddle/vision/models/MobileNetV2_cn.rst index ca64de7139c..4b6a6f59164 100644 --- a/docs/api/paddle/vision/models/MobileNetV2_cn.rst +++ b/docs/api/paddle/vision/models/MobileNetV2_cn.rst @@ -20,5 +20,6 @@ mobilenetv2 模型,Layer 的实例。 代码示例 ::::::::: -COPY-FROM: paddle.vision.models.MobileNetV2:code-example1 + +COPY-FROM: paddle.vision.models.MobileNetV2 diff --git a/docs/api/paddle/vision/models/MobileNetV3Large_cn.rst b/docs/api/paddle/vision/models/MobileNetV3Large_cn.rst index 7f2f8dee825..435e5613607 100644 --- a/docs/api/paddle/vision/models/MobileNetV3Large_cn.rst +++ b/docs/api/paddle/vision/models/MobileNetV3Large_cn.rst @@ -6,7 +6,7 @@ MobileNetV3Large .. py:class:: paddle.vision.models.MobileNetV3Large(scale=1.0, num_classes=1000, with_pool=True) -MobileNetV3Large模型,来自论文 `"Searching for MobileNetV3" `_ 。 +MobileNetV3Large 模型,来自论文 `"Searching for MobileNetV3" `_ 。 参数 ::::::::: @@ -21,15 +21,4 @@ mobilenetv3 large 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - - import paddle - from paddle.vision.models import MobileNetV3Large - - # build model - model = MobileNetV3Large(scale=1.0) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.MobileNetV3Large diff --git a/docs/api/paddle/vision/models/MobileNetV3Small_cn.rst b/docs/api/paddle/vision/models/MobileNetV3Small_cn.rst index 34e8a4a50ab..bbd8b990518 100644 --- a/docs/api/paddle/vision/models/MobileNetV3Small_cn.rst +++ b/docs/api/paddle/vision/models/MobileNetV3Small_cn.rst @@ -21,15 +21,4 @@ mobilenetv3 small 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - - import paddle - from paddle.vision.models import MobileNetV3Small - - # build model - model = MobileNetV3Small(scale=1.0) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.MobileNetV3Small diff --git a/docs/api/paddle/vision/models/ShuffleNetV2_cn.rst b/docs/api/paddle/vision/models/ShuffleNetV2_cn.rst index 67531aecfe1..350001bdff3 100644 --- a/docs/api/paddle/vision/models/ShuffleNetV2_cn.rst +++ b/docs/api/paddle/vision/models/ShuffleNetV2_cn.rst @@ -21,14 +21,5 @@ ShuffleNetV2 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import ShuffleNetV2 - - shufflenet_v2_swish = ShuffleNetV2(scale=1.0, act="swish") - - x = paddle.rand([1, 3, 224, 224]) - out = shufflenet_v2_swish(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.ShuffleNetV2 diff --git a/docs/api/paddle/vision/models/SqueezeNet_cn.rst b/docs/api/paddle/vision/models/SqueezeNet_cn.rst index 5a3b907b8d6..e6a591998ed 100644 --- a/docs/api/paddle/vision/models/SqueezeNet_cn.rst +++ b/docs/api/paddle/vision/models/SqueezeNet_cn.rst @@ -20,18 +20,5 @@ SqueezeNet 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import SqueezeNet - - # build v1.0 model - model = SqueezeNet(version='1.0') - - # build v1.1 model - # model = SqueezeNet(version='1.1') - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.SqueezeNet diff --git a/docs/api/paddle/vision/models/VGG_cn.rst b/docs/api/paddle/vision/models/VGG_cn.rst index f82be82b65a..d6be987aac6 100644 --- a/docs/api/paddle/vision/models/VGG_cn.rst +++ b/docs/api/paddle/vision/models/VGG_cn.rst @@ -21,4 +21,4 @@ vgg 模型,Layer 的实例。 代码示例 ::::::::: -COPY-FROM: paddle.vision.models.VGG:code-example +COPY-FROM: paddle.vision.models.VGG diff --git a/docs/api/paddle/vision/models/alexnet_cn.rst b/docs/api/paddle/vision/models/alexnet_cn.rst index 94246fa9056..f8124166cfe 100644 --- a/docs/api/paddle/vision/models/alexnet_cn.rst +++ b/docs/api/paddle/vision/models/alexnet_cn.rst @@ -19,4 +19,4 @@ alexnet 模型,Layer 的实例。 代码示例 ::::::::: -COPY-FROM: paddle.vision.models.alexnet:code-example +COPY-FROM: paddle.vision.models.alexnet diff --git a/docs/api/paddle/vision/models/densenet121_cn.rst b/docs/api/paddle/vision/models/densenet121_cn.rst index 1d3518085d9..e2c2f26f3a4 100644 --- a/docs/api/paddle/vision/models/densenet121_cn.rst +++ b/docs/api/paddle/vision/models/densenet121_cn.rst @@ -18,18 +18,5 @@ densenet121 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import densenet121 - - # build model - model = densenet121() - - # build model and load imagenet pretrained weight - # model = densenet121(pretrained=True) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.densenet121 diff --git a/docs/api/paddle/vision/models/densenet161_cn.rst b/docs/api/paddle/vision/models/densenet161_cn.rst index 915feb1159b..487e933e671 100644 --- a/docs/api/paddle/vision/models/densenet161_cn.rst +++ b/docs/api/paddle/vision/models/densenet161_cn.rst @@ -18,18 +18,5 @@ densenet161 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import densenet161 - - # build model - model = densenet161() - - # build model and load imagenet pretrained weight - # model = densenet161(pretrained=True) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.densenet161 diff --git a/docs/api/paddle/vision/models/densenet169_cn.rst b/docs/api/paddle/vision/models/densenet169_cn.rst index bddcc45dbed..a223ec55a71 100644 --- a/docs/api/paddle/vision/models/densenet169_cn.rst +++ b/docs/api/paddle/vision/models/densenet169_cn.rst @@ -18,18 +18,5 @@ densenet169 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import densenet169 - - # build model - model = densenet169() - - # build model and load imagenet pretrained weight - # model = densenet169(pretrained=True) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.densenet169 diff --git a/docs/api/paddle/vision/models/densenet201_cn.rst b/docs/api/paddle/vision/models/densenet201_cn.rst index 15a375e3699..93be965528d 100644 --- a/docs/api/paddle/vision/models/densenet201_cn.rst +++ b/docs/api/paddle/vision/models/densenet201_cn.rst @@ -18,18 +18,5 @@ densenet201 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import densenet201 - - # build model - model = densenet201() - - # build model and load imagenet pretrained weight - # model = densenet201(pretrained=True) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.densenet201 diff --git a/docs/api/paddle/vision/models/densenet264_cn.rst b/docs/api/paddle/vision/models/densenet264_cn.rst index 6aae709ecfa..889bfd1004b 100644 --- a/docs/api/paddle/vision/models/densenet264_cn.rst +++ b/docs/api/paddle/vision/models/densenet264_cn.rst @@ -18,18 +18,5 @@ densenet264 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import densenet264 - - # build model - model = densenet264() - - # build model and load imagenet pretrained weight - # model = densenet264(pretrained=True) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.densenet264 diff --git a/docs/api/paddle/vision/models/googlenet_cn.rst b/docs/api/paddle/vision/models/googlenet_cn.rst index d512452edfc..f972847c3b5 100644 --- a/docs/api/paddle/vision/models/googlenet_cn.rst +++ b/docs/api/paddle/vision/models/googlenet_cn.rst @@ -18,18 +18,5 @@ GoogLeNet 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import googlenet - - # build model - model = googlenet() - - # build model and load imagenet pretrained weight - # model = googlenet(pretrained=True) - - x = paddle.rand([1, 3, 224, 224]) - out, out1, out2 = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.googlenet diff --git a/docs/api/paddle/vision/models/inception_v3_cn.rst b/docs/api/paddle/vision/models/inception_v3_cn.rst index eace9a7798e..895f2166f7c 100644 --- a/docs/api/paddle/vision/models/inception_v3_cn.rst +++ b/docs/api/paddle/vision/models/inception_v3_cn.rst @@ -18,18 +18,5 @@ InceptionV3 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import inception_v3 - - # build model - model = inception_v3() - - # build model and load imagenet pretrained weight - # model = inception_v3(pretrained=True) - - x = paddle.rand([1, 3, 299, 299]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.inception_v3 diff --git a/docs/api/paddle/vision/models/mobilenet_v1_cn.rst b/docs/api/paddle/vision/models/mobilenet_v1_cn.rst index a797dac92d2..625843d8326 100644 --- a/docs/api/paddle/vision/models/mobilenet_v1_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v1_cn.rst @@ -20,21 +20,4 @@ mobilenetv1 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - - import paddle - from paddle.vision.models import mobilenet_v1 - - # build model - model = mobilenet_v1() - - # build model and load imagenet pretrained weight - # model = mobilenet_v1(pretrained=True) - - # build mobilenet v1 with scale=0.5 - model_scale = mobilenet_v1(scale=0.5) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.mobilenet_v1 diff --git a/docs/api/paddle/vision/models/mobilenet_v2_cn.rst b/docs/api/paddle/vision/models/mobilenet_v2_cn.rst index 86c52368f95..51f4c736423 100644 --- a/docs/api/paddle/vision/models/mobilenet_v2_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v2_cn.rst @@ -20,21 +20,4 @@ mobilenetv2 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - - import paddle - from paddle.vision.models import mobilenet_v2 - - # build model - model = mobilenet_v2() - - # build model and load imagenet pretrained weight - # model = mobilenet_v2(pretrained=True) - - # build mobilenet v2 with scale=0.5 - model = mobilenet_v2(scale=0.5) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.mobilenet_v2 diff --git a/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst b/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst index 8e369dcea6d..bf0276580e7 100644 --- a/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst @@ -20,21 +20,4 @@ mobilenetv3 large 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - - import paddle - from paddle.vision.models import mobilenet_v3_large - - # build model - model = mobilenet_v3_large() - - # build model and load imagenet pretrained weight - # model = mobilenet_v3_large(pretrained=True) - - # build mobilenet v3 large model with scale=0.5 - model = mobilenet_v3_large(scale=0.5) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.mobilenet_v3_large diff --git a/docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst b/docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst index 3ea15e8f05c..7592ad90fa2 100644 --- a/docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst @@ -20,21 +20,4 @@ mobilenetv3 small 模型,Layer的实例。 代码示例 ::::::::: -.. code-block:: python - - import paddle - from paddle.vision.models import mobilenet_v3_small - - # build model - model = mobilenet_v3_small() - - # build model and load imagenet pretrained weight - # model = mobilenet_v3_small(pretrained=True) - - # build mobilenet v3 small model with scale=0.5 - model = mobilenet_v3_small(scale=0.5) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.mobilenet_v3_small diff --git a/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst index 087c84d772f..ff4c55dc6e4 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst @@ -18,18 +18,5 @@ shufflenet_v2_swish 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import shufflenet_v2_swish - - # build model - model = shufflenet_v2_swish() - - # build model and load imagenet pretrained weight - # model = shufflenet_v2_swish(pretrained=True) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.shufflenet_v2_swish diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst index 3f0f7e63694..445c7023c65 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst @@ -18,18 +18,5 @@ shufflenet_v2_x0_25 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import shufflenet_v2_x0_25 - - # build model - model = shufflenet_v2_x0_25() - - # build model and load imagenet pretrained weight - # model = shufflenet_v2_x0_25(pretrained=True) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.shufflenet_v2_x0_25 diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst index e6153c771e5..ab693cdf0a4 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst @@ -18,18 +18,5 @@ shufflenet_v2_x0_33 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import shufflenet_v2_x0_33 - - # build model - model = shufflenet_v2_x0_33() - - # build model and load imagenet pretrained weight - # model = shufflenet_v2_x0_33(pretrained=True) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.shufflenet_v2_x0_33 diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst index d3ad7e2f679..e26ad505482 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst @@ -18,18 +18,5 @@ shufflenet_v2_x0_5 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import shufflenet_v2_x0_5 - - # build model - model = shufflenet_v2_x0_5() - - # build model and load imagenet pretrained weight - # model = shufflenet_v2_x0_5(pretrained=True) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.shufflenet_v2_x0_5 diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst index 6cf200279bf..8e9bf5eb686 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst @@ -18,18 +18,5 @@ shufflenet_v2_x1_0 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import shufflenet_v2_x1_0 - - # build model - model = shufflenet_v2_x1_0() - - # build model and load imagenet pretrained weight - # model = shufflenet_v2_x1_0(pretrained=True) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.shufflenet_v2_x1_0 diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst index acc93f668a5..27b1c7a538d 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst @@ -18,18 +18,5 @@ shufflenet_v2_x1_5 模型,Layer的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import shufflenet_v2_x1_5 - - # build model - model = shufflenet_v2_x1_5() - - # build model and load imagenet pretrained weight - # model = shufflenet_v2_x1_5(pretrained=True) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.shufflenet_v2_x1_5 diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst index 7f0754e5f13..2718ad86da6 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst @@ -17,19 +17,5 @@ shufflenet_v2_x2_0 shufflenet_v2_x2_0 模型,Layer 的实例。 代码示例 -::::::::: -.. code-block:: python - - import paddle - from paddle.vision.models import shufflenet_v2_x2_0 - - # build model - model = shufflenet_v2_x2_0() - - # build model and load imagenet pretrained weight - # model = shufflenet_v2_x2_0(pretrained=True) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - print(out.shape) +COPY-FROM: paddle.vision.models.shufflenet_v2_x2_0 diff --git a/docs/api/paddle/vision/models/squeezenet1_0_cn.rst b/docs/api/paddle/vision/models/squeezenet1_0_cn.rst index 833db8532e0..360cdb7d9dd 100644 --- a/docs/api/paddle/vision/models/squeezenet1_0_cn.rst +++ b/docs/api/paddle/vision/models/squeezenet1_0_cn.rst @@ -18,18 +18,5 @@ squeezenet1_0 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import squeezenet1_0 - - # build model - model = squeezenet1_0() - - # build model and load imagenet pretrained weight - # model = squeezenet1_0(pretrained=True) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.squeezenet1_0 diff --git a/docs/api/paddle/vision/models/squeezenet1_1_cn.rst b/docs/api/paddle/vision/models/squeezenet1_1_cn.rst index 2d74ec74c26..631058015ec 100644 --- a/docs/api/paddle/vision/models/squeezenet1_1_cn.rst +++ b/docs/api/paddle/vision/models/squeezenet1_1_cn.rst @@ -18,18 +18,6 @@ squeezenet1_1 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import squeezenet1_1 +COPY-FROM: paddle.vision.models.squeezenet1_1 - # build model - model = squeezenet1_1() - - # build model and load imagenet pretrained weight - # model = squeezenet1_1(pretrained=True) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) diff --git a/docs/api/paddle/vision/models/vgg11_cn.rst b/docs/api/paddle/vision/models/vgg11_cn.rst index 47bd26e67e0..08ffa1a05b7 100644 --- a/docs/api/paddle/vision/models/vgg11_cn.rst +++ b/docs/api/paddle/vision/models/vgg11_cn.rst @@ -19,18 +19,5 @@ vgg11 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - import paddle - from paddle.vision.models import vgg11 - - # build model - model = vgg11() - - # build vgg11 model with batch_norm - model = vgg11(batch_norm=True) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) \ No newline at end of file +COPY-FROM: paddle.vision.models.vgg11 diff --git a/docs/api/paddle/vision/models/vgg13_cn.rst b/docs/api/paddle/vision/models/vgg13_cn.rst index f619d5583c1..83eac9dfbca 100644 --- a/docs/api/paddle/vision/models/vgg13_cn.rst +++ b/docs/api/paddle/vision/models/vgg13_cn.rst @@ -20,18 +20,5 @@ vgg13 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python +COPY-FROM: paddle.vision.models.vgg13 - import paddle - from paddle.vision.models import vgg13 - - # build model - model = vgg13() - - # build vgg13 model with batch_norm - model = vgg13(batch_norm=True) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) diff --git a/docs/api/paddle/vision/models/vgg16_cn.rst b/docs/api/paddle/vision/models/vgg16_cn.rst index b8bed8ad9a3..45dc731bad7 100644 --- a/docs/api/paddle/vision/models/vgg16_cn.rst +++ b/docs/api/paddle/vision/models/vgg16_cn.rst @@ -20,18 +20,4 @@ vgg16 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - - import paddle - from paddle.vision.models import vgg16 - - # build model - model = vgg16() - - # build vgg16 model with batch_norm - model = vgg16(batch_norm=True) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.vgg16 diff --git a/docs/api/paddle/vision/models/vgg19_cn.rst b/docs/api/paddle/vision/models/vgg19_cn.rst index 0a0015c903f..58cdd90d52d 100644 --- a/docs/api/paddle/vision/models/vgg19_cn.rst +++ b/docs/api/paddle/vision/models/vgg19_cn.rst @@ -20,18 +20,4 @@ vgg19 模型,Layer 的实例。 代码示例 ::::::::: -.. code-block:: python - - import paddle - from paddle.vision.models import vgg19 - - # build model - model = vgg19() - - # build vgg19 model with batch_norm - model = vgg19(batch_norm=True) - - x = paddle.rand([1, 3, 224, 224]) - out = model(x) - - print(out.shape) +COPY-FROM: paddle.vision.models.vgg19 From 92265ce09d9c6766a6ffce59e5eabc7160d530e0 Mon Sep 17 00:00:00 2001 From: Nyakku Shigure Date: Fri, 17 Jun 2022 11:00:04 +0000 Subject: [PATCH 05/16] add a blank line between h2 and p --- docs/api/paddle/vision/models/AlexNet_cn.rst | 2 ++ docs/api/paddle/vision/models/DenseNet_cn.rst | 2 ++ docs/api/paddle/vision/models/GoogLeNet_cn.rst | 2 ++ docs/api/paddle/vision/models/InceptionV3_cn.rst | 2 ++ docs/api/paddle/vision/models/LeNet_cn.rst | 1 + docs/api/paddle/vision/models/MobileNetV1_cn.rst | 2 ++ docs/api/paddle/vision/models/MobileNetV2_cn.rst | 2 ++ docs/api/paddle/vision/models/MobileNetV3Large_cn.rst | 2 ++ docs/api/paddle/vision/models/MobileNetV3Small_cn.rst | 2 ++ docs/api/paddle/vision/models/ShuffleNetV2_cn.rst | 2 ++ docs/api/paddle/vision/models/SqueezeNet_cn.rst | 2 ++ docs/api/paddle/vision/models/VGG_cn.rst | 2 ++ docs/api/paddle/vision/models/alexnet_cn.rst | 3 +++ docs/api/paddle/vision/models/densenet121_cn.rst | 2 ++ docs/api/paddle/vision/models/densenet161_cn.rst | 2 ++ docs/api/paddle/vision/models/densenet169_cn.rst | 2 ++ docs/api/paddle/vision/models/densenet201_cn.rst | 2 ++ docs/api/paddle/vision/models/densenet264_cn.rst | 2 ++ docs/api/paddle/vision/models/googlenet_cn.rst | 2 ++ docs/api/paddle/vision/models/inception_v3_cn.rst | 2 ++ docs/api/paddle/vision/models/mobilenet_v1_cn.rst | 2 ++ docs/api/paddle/vision/models/mobilenet_v2_cn.rst | 2 ++ docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst | 2 ++ docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst | 2 ++ docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst | 2 ++ docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst | 2 ++ docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst | 2 ++ docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst | 2 ++ docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst | 2 ++ docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst | 2 ++ docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst | 2 ++ docs/api/paddle/vision/models/squeezenet1_0_cn.rst | 2 ++ docs/api/paddle/vision/models/squeezenet1_1_cn.rst | 2 ++ docs/api/paddle/vision/models/vgg11_cn.rst | 2 ++ docs/api/paddle/vision/models/vgg13_cn.rst | 2 ++ docs/api/paddle/vision/models/vgg16_cn.rst | 2 ++ docs/api/paddle/vision/models/vgg19_cn.rst | 2 ++ 37 files changed, 74 insertions(+) diff --git a/docs/api/paddle/vision/models/AlexNet_cn.rst b/docs/api/paddle/vision/models/AlexNet_cn.rst index 13e01f14dca..2d29462b467 100644 --- a/docs/api/paddle/vision/models/AlexNet_cn.rst +++ b/docs/api/paddle/vision/models/AlexNet_cn.rst @@ -10,10 +10,12 @@ AlexNet 模型,来自论文 `"ImageNet Classification with Deep Convolutional 参数 ::::::::: + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: + alexnet 模型,Layer 的实例。 代码示例 diff --git a/docs/api/paddle/vision/models/DenseNet_cn.rst b/docs/api/paddle/vision/models/DenseNet_cn.rst index 975e62589aa..e6a50604b51 100644 --- a/docs/api/paddle/vision/models/DenseNet_cn.rst +++ b/docs/api/paddle/vision/models/DenseNet_cn.rst @@ -10,6 +10,7 @@ DenseNet 模型,来自论文 `"Densely Connected Convolutional Networks" `。 + 返回 ::::::::: + alexnet 模型,Layer 的实例。 代码示例 diff --git a/docs/api/paddle/vision/models/densenet121_cn.rst b/docs/api/paddle/vision/models/densenet121_cn.rst index e2c2f26f3a4..8992496b78e 100644 --- a/docs/api/paddle/vision/models/densenet121_cn.rst +++ b/docs/api/paddle/vision/models/densenet121_cn.rst @@ -10,10 +10,12 @@ densenet121 参数 ::::::::: + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: + densenet121 模型,Layer 的实例。 代码示例 diff --git a/docs/api/paddle/vision/models/densenet161_cn.rst b/docs/api/paddle/vision/models/densenet161_cn.rst index 487e933e671..05c6ca2a6f5 100644 --- a/docs/api/paddle/vision/models/densenet161_cn.rst +++ b/docs/api/paddle/vision/models/densenet161_cn.rst @@ -10,10 +10,12 @@ densenet161 参数 ::::::::: + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: + densenet161 模型,Layer 的实例。 代码示例 diff --git a/docs/api/paddle/vision/models/densenet169_cn.rst b/docs/api/paddle/vision/models/densenet169_cn.rst index a223ec55a71..7cfad82ac20 100644 --- a/docs/api/paddle/vision/models/densenet169_cn.rst +++ b/docs/api/paddle/vision/models/densenet169_cn.rst @@ -10,10 +10,12 @@ densenet169 参数 ::::::::: + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: + densenet169 模型,Layer 的实例。 代码示例 diff --git a/docs/api/paddle/vision/models/densenet201_cn.rst b/docs/api/paddle/vision/models/densenet201_cn.rst index 93be965528d..bdf749d35b0 100644 --- a/docs/api/paddle/vision/models/densenet201_cn.rst +++ b/docs/api/paddle/vision/models/densenet201_cn.rst @@ -10,10 +10,12 @@ densenet201 参数 ::::::::: + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: + densenet201 模型,Layer 的实例。 代码示例 diff --git a/docs/api/paddle/vision/models/densenet264_cn.rst b/docs/api/paddle/vision/models/densenet264_cn.rst index 889bfd1004b..62ae02cec26 100644 --- a/docs/api/paddle/vision/models/densenet264_cn.rst +++ b/docs/api/paddle/vision/models/densenet264_cn.rst @@ -10,10 +10,12 @@ densenet264 参数 ::::::::: + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: + densenet264 模型,Layer 的实例。 代码示例 diff --git a/docs/api/paddle/vision/models/googlenet_cn.rst b/docs/api/paddle/vision/models/googlenet_cn.rst index f972847c3b5..880f5420084 100644 --- a/docs/api/paddle/vision/models/googlenet_cn.rst +++ b/docs/api/paddle/vision/models/googlenet_cn.rst @@ -10,10 +10,12 @@ GoogLeNet(Inception v1)模型,来自论文 `"Going Deeper with Convolution 参数 ::::::::: + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: + GoogLeNet 模型,Layer 的实例。 代码示例 diff --git a/docs/api/paddle/vision/models/inception_v3_cn.rst b/docs/api/paddle/vision/models/inception_v3_cn.rst index 895f2166f7c..752125ad29c 100644 --- a/docs/api/paddle/vision/models/inception_v3_cn.rst +++ b/docs/api/paddle/vision/models/inception_v3_cn.rst @@ -10,10 +10,12 @@ InceptionV3 模型,来自论文 `"Rethinking the Inception Architecture for Co 参数 ::::::::: + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 返回 ::::::::: + InceptionV3 模型,Layer 的实例。 代码示例 diff --git a/docs/api/paddle/vision/models/mobilenet_v1_cn.rst b/docs/api/paddle/vision/models/mobilenet_v1_cn.rst index 625843d8326..8712f77a68a 100644 --- a/docs/api/paddle/vision/models/mobilenet_v1_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v1_cn.rst @@ -10,11 +10,13 @@ MobileNetV1 模型,来自论文 `"MobileNets: Efficient Convolutional Neural N 参数 ::::::::: + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 - **scale** (float,可选) - 模型通道数的缩放比例。默认值:1.0。 返回 ::::::::: + mobilenetv1 模型,Layer 的实例。 代码示例 diff --git a/docs/api/paddle/vision/models/mobilenet_v2_cn.rst b/docs/api/paddle/vision/models/mobilenet_v2_cn.rst index 51f4c736423..663018ae11a 100644 --- a/docs/api/paddle/vision/models/mobilenet_v2_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v2_cn.rst @@ -10,11 +10,13 @@ MobileNetV2模型,来自论文 `"MobileNetV2: Inverted Residuals and Linear Bo 参数 ::::::::: + - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 - **scale** (float,可选) - 模型通道数的缩放比例。默认值:1.0。 返回 ::::::::: + mobilenetv2 模型,Layer 的实例。 代码示例 diff --git a/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst b/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst index bf0276580e7..e8abad0da4d 100644 --- a/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst @@ -10,11 +10,13 @@ MobileNetV3Large 模型,来自论文 `"Searching for MobileNetV3" Date: Fri, 17 Jun 2022 12:00:33 +0000 Subject: [PATCH 06/16] refine returns --- docs/api/paddle/vision/models/AlexNet_cn.rst | 2 +- docs/api/paddle/vision/models/DenseNet_cn.rst | 2 +- docs/api/paddle/vision/models/GoogLeNet_cn.rst | 2 +- docs/api/paddle/vision/models/InceptionV3_cn.rst | 4 ++-- docs/api/paddle/vision/models/LeNet_cn.rst | 4 ++++ docs/api/paddle/vision/models/MobileNetV1_cn.rst | 4 ++-- docs/api/paddle/vision/models/MobileNetV2_cn.rst | 4 ++-- docs/api/paddle/vision/models/MobileNetV3Large_cn.rst | 4 ++-- docs/api/paddle/vision/models/MobileNetV3Small_cn.rst | 4 ++-- docs/api/paddle/vision/models/ShuffleNetV2_cn.rst | 2 +- docs/api/paddle/vision/models/SqueezeNet_cn.rst | 2 +- docs/api/paddle/vision/models/VGG_cn.rst | 2 +- docs/api/paddle/vision/models/alexnet_cn.rst | 2 +- docs/api/paddle/vision/models/densenet121_cn.rst | 2 +- docs/api/paddle/vision/models/densenet161_cn.rst | 2 +- docs/api/paddle/vision/models/densenet169_cn.rst | 2 +- docs/api/paddle/vision/models/densenet201_cn.rst | 2 +- docs/api/paddle/vision/models/densenet264_cn.rst | 2 +- docs/api/paddle/vision/models/googlenet_cn.rst | 2 +- docs/api/paddle/vision/models/inception_v3_cn.rst | 4 ++-- docs/api/paddle/vision/models/mobilenet_v1_cn.rst | 2 +- docs/api/paddle/vision/models/mobilenet_v2_cn.rst | 4 ++-- docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst | 4 ++-- docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst | 4 ++-- docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst | 4 ++-- docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst | 4 ++-- docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst | 2 +- docs/api/paddle/vision/models/squeezenet1_0_cn.rst | 4 ++-- docs/api/paddle/vision/models/squeezenet1_1_cn.rst | 4 ++-- docs/api/paddle/vision/models/vgg11_cn.rst | 4 ++-- docs/api/paddle/vision/models/vgg13_cn.rst | 4 ++-- docs/api/paddle/vision/models/vgg16_cn.rst | 4 ++-- docs/api/paddle/vision/models/vgg19_cn.rst | 4 ++-- 37 files changed, 57 insertions(+), 53 deletions(-) diff --git a/docs/api/paddle/vision/models/AlexNet_cn.rst b/docs/api/paddle/vision/models/AlexNet_cn.rst index 2d29462b467..9cd68ea93f7 100644 --- a/docs/api/paddle/vision/models/AlexNet_cn.rst +++ b/docs/api/paddle/vision/models/AlexNet_cn.rst @@ -16,7 +16,7 @@ AlexNet 模型,来自论文 `"ImageNet Classification with Deep Convolutional 返回 ::::::::: -alexnet 模型,Layer 的实例。 +AlexNet 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/DenseNet_cn.rst b/docs/api/paddle/vision/models/DenseNet_cn.rst index e6a50604b51..d5d281c1cf0 100644 --- a/docs/api/paddle/vision/models/DenseNet_cn.rst +++ b/docs/api/paddle/vision/models/DenseNet_cn.rst @@ -20,7 +20,7 @@ DenseNet 模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 +Inception v3 模型,来自论文 `"Rethinking the Inception Architecture for Computer Vision" `_ 。 参数 ::::::::: @@ -17,7 +17,7 @@ InceptionV3 模型,来自论文 `"Rethinking the Inception Architecture for Co 返回 ::::::::: -InceptionV3 模型,Layer 的实例。 +Inception v3 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/LeNet_cn.rst b/docs/api/paddle/vision/models/LeNet_cn.rst index c01ceee7707..8fbd5717d82 100644 --- a/docs/api/paddle/vision/models/LeNet_cn.rst +++ b/docs/api/paddle/vision/models/LeNet_cn.rst @@ -13,6 +13,10 @@ LeNet 模型,来自论文 `"Gradient-based learning applied to document recogn - **num_classes** (int,可选) - 最后一个全连接层输出的维度。默认值:10。 +返回 +::::::::: + +LeNet 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/MobileNetV1_cn.rst b/docs/api/paddle/vision/models/MobileNetV1_cn.rst index a2c4a2ae1ac..3b49342762a 100644 --- a/docs/api/paddle/vision/models/MobileNetV1_cn.rst +++ b/docs/api/paddle/vision/models/MobileNetV1_cn.rst @@ -6,7 +6,7 @@ MobileNetV1 .. py:class:: paddle.vision.models.MobileNetV1(scale=1.0, num_classes=1000, with_pool=True) -MobileNetV1模型,来自论文 `"MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications" `_ 。 +MobileNetV1 模型,来自论文 `"MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications" `_ 。 参数 ::::::::: @@ -18,7 +18,7 @@ MobileNetV1模型,来自论文 `"MobileNets: Efficient Convolutional Neural Ne 返回 ::::::::: -mobilenetv1 模型,Layer的实例。 +MobileNetV1 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/MobileNetV2_cn.rst b/docs/api/paddle/vision/models/MobileNetV2_cn.rst index 491dd573179..39f1151c071 100644 --- a/docs/api/paddle/vision/models/MobileNetV2_cn.rst +++ b/docs/api/paddle/vision/models/MobileNetV2_cn.rst @@ -6,7 +6,7 @@ MobileNetV2 .. py:class:: paddle.vision.models.MobileNetV2(scale=1.0, num_classes=1000, with_pool=True) -MobileNetV2模型,来自论文 `"MobileNetV2: Inverted Residuals and Linear Bottlenecks" `_ 。 +MobileNetV2 模型,来自论文 `"MobileNetV2: Inverted Residuals and Linear Bottlenecks" `_ 。 参数 ::::::::: @@ -18,7 +18,7 @@ MobileNetV2模型,来自论文 `"MobileNetV2: Inverted Residuals and Linear Bo 返回 ::::::::: -mobilenetv2 模型,Layer 的实例。 +MobileNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/MobileNetV3Large_cn.rst b/docs/api/paddle/vision/models/MobileNetV3Large_cn.rst index 0711467679a..b78f50287e2 100644 --- a/docs/api/paddle/vision/models/MobileNetV3Large_cn.rst +++ b/docs/api/paddle/vision/models/MobileNetV3Large_cn.rst @@ -6,7 +6,7 @@ MobileNetV3Large .. py:class:: paddle.vision.models.MobileNetV3Large(scale=1.0, num_classes=1000, with_pool=True) -MobileNetV3Large 模型,来自论文 `"Searching for MobileNetV3" `_ 。 +MobileNetV3 Large 架构模型,来自论文 `"Searching for MobileNetV3" `_ 。 参数 ::::::::: @@ -18,7 +18,7 @@ MobileNetV3Large 模型,来自论文 `"Searching for MobileNetV3" `_ 。 +MobileNetV3 Small 架构模型,来自论文 `"Searching for MobileNetV3" `_ 。 参数 ::::::::: @@ -18,7 +18,7 @@ MobileNetV3Small 模型,来自论文 `"Searching for MobileNetV3" `_ 。 +Inception v3 模型,来自论文 `"Rethinking the Inception Architecture for Computer Vision" `_ 。 参数 ::::::::: @@ -16,7 +16,7 @@ InceptionV3 模型,来自论文 `"Rethinking the Inception Architecture for Co 返回 ::::::::: -InceptionV3 模型,Layer 的实例。 +Inception v3 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/mobilenet_v1_cn.rst b/docs/api/paddle/vision/models/mobilenet_v1_cn.rst index 8712f77a68a..49bfa06d46c 100644 --- a/docs/api/paddle/vision/models/mobilenet_v1_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v1_cn.rst @@ -17,7 +17,7 @@ MobileNetV1 模型,来自论文 `"MobileNets: Efficient Convolutional Neural N 返回 ::::::::: -mobilenetv1 模型,Layer 的实例。 +MobileNetV1 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/mobilenet_v2_cn.rst b/docs/api/paddle/vision/models/mobilenet_v2_cn.rst index 663018ae11a..828454c61a3 100644 --- a/docs/api/paddle/vision/models/mobilenet_v2_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v2_cn.rst @@ -6,7 +6,7 @@ mobilenet_v2 .. py:function:: paddle.vision.models.mobilenet_v2(pretrained=False, scale=1.0, **kwargs) -MobileNetV2模型,来自论文 `"MobileNetV2: Inverted Residuals and Linear Bottlenecks" `_ 。 +MobileNetV2 模型,来自论文 `"MobileNetV2: Inverted Residuals and Linear Bottlenecks" `_ 。 参数 ::::::::: @@ -17,7 +17,7 @@ MobileNetV2模型,来自论文 `"MobileNetV2: Inverted Residuals and Linear Bo 返回 ::::::::: -mobilenetv2 模型,Layer 的实例。 +MobileNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst b/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst index e8abad0da4d..21f7e929895 100644 --- a/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst @@ -6,7 +6,7 @@ mobilenet_v3_large .. py:function:: paddle.vision.models.mobilenet_v3_large(pretrained=False, scale=1.0, **kwargs) -MobileNetV3Large 模型,来自论文 `"Searching for MobileNetV3" `_ 。 +MobileNetV3 Large 架构模型,来自论文 `"Searching for MobileNetV3" `_ 。 参数 ::::::::: @@ -17,7 +17,7 @@ MobileNetV3Large 模型,来自论文 `"Searching for MobileNetV3" `_ 。 +MobileNetV3 Small 架构模型,来自论文 `"Searching for MobileNetV3" `_ 。 参数 ::::::::: @@ -17,7 +17,7 @@ MobileNetV3Small 模型,来自论文 `"Searching for MobileNetV3" `_ 。 +使用 swish 作为激活函数的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 参数 ::::::::: @@ -16,7 +16,7 @@ shufflenet_v2_swish 返回 ::::::::: -shufflenet_v2_swish 模型,Layer 的实例。 +使用 swish 作为激活函数的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst index 1455b340be0..041019c1e98 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst @@ -16,7 +16,7 @@ shufflenet_v2_x0_25 返回 ::::::::: -shufflenet_v2_x0_25 模型,Layer 的实例。 +输出通道缩放比例为 0.25 的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst index 6da7e067180..4a82ce48b4b 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst @@ -6,7 +6,7 @@ shufflenet_v2_x0_33 .. py:function:: paddle.vision.models.shufflenet_v2_x0_33(pretrained=False, **kwargs) -输出通道缩放比例为 0.25 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 +输出通道缩放比例为 0.33 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 参数 ::::::::: @@ -16,7 +16,7 @@ shufflenet_v2_x0_33 返回 ::::::::: -shufflenet_v2_x0_33 模型,Layer 的实例。 +输出通道缩放比例为 0.33 的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst index ec1d6fd2b9b..ba0edab4e28 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst @@ -16,7 +16,7 @@ shufflenet_v2_x0_5 返回 ::::::::: -shufflenet_v2_x0_5 模型,Layer 的实例。 +输出通道缩放比例为 0.5 的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst index 5cabf0a6a5d..76fa8baf0fa 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst @@ -16,7 +16,7 @@ shufflenet_v2_x1_0 返回 ::::::::: -shufflenet_v2_x1_0 模型,Layer 的实例。 +输出通道缩放比例为 1.0 的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst index cd27daa31f5..8c9ce469047 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst @@ -16,7 +16,7 @@ shufflenet_v2_x1_5 返回 ::::::::: -shufflenet_v2_x1_5 模型,Layer的实例。 +输出通道缩放比例为 1.5 的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst index 9d530d85f98..3fecedd84f3 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst @@ -16,7 +16,7 @@ shufflenet_v2_x2_0 返回 ::::::::: -shufflenet_v2_x2_0 模型,Layer 的实例。 +输出通道缩放比例为 2.0 的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 diff --git a/docs/api/paddle/vision/models/squeezenet1_0_cn.rst b/docs/api/paddle/vision/models/squeezenet1_0_cn.rst index 79845213602..a12489ec495 100644 --- a/docs/api/paddle/vision/models/squeezenet1_0_cn.rst +++ b/docs/api/paddle/vision/models/squeezenet1_0_cn.rst @@ -6,7 +6,7 @@ squeezenet1_0 .. py:function:: paddle.vision.models.squeezenet1_0(pretrained=False, **kwargs) -squeezenet1_0 模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size" `_ 。 +SqueezeNet v1.0 模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size" `_ 。 参数 ::::::::: @@ -16,7 +16,7 @@ squeezenet1_0 模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 50 返回 ::::::::: -squeezenet1_0 模型,Layer 的实例。 +SqueezeNet v1.0 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/squeezenet1_1_cn.rst b/docs/api/paddle/vision/models/squeezenet1_1_cn.rst index eb5c3990fcc..1bbccaa9f8a 100644 --- a/docs/api/paddle/vision/models/squeezenet1_1_cn.rst +++ b/docs/api/paddle/vision/models/squeezenet1_1_cn.rst @@ -6,7 +6,7 @@ squeezenet1_1 .. py:function:: paddle.vision.models.squeezenet1_1(pretrained=False, **kwargs) -squeezenet1_1 模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size" `_ 。 +SqueezeNet v1.1 模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size" `_ 。 参数 ::::::::: @@ -16,7 +16,7 @@ squeezenet1_1 模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 50 返回 ::::::::: -squeezenet1_1 模型,Layer 的实例。 +SqueezeNet v1.1 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/vgg11_cn.rst b/docs/api/paddle/vision/models/vgg11_cn.rst index f5bd6666efe..c18b822224f 100644 --- a/docs/api/paddle/vision/models/vgg11_cn.rst +++ b/docs/api/paddle/vision/models/vgg11_cn.rst @@ -6,7 +6,7 @@ vgg11 .. py:function:: paddle.vision.models.vgg11(pretrained=False, batch_norm=False, **kwargs) -vgg11 模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 +11 层的 VGG 模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 参数 ::::::::: @@ -17,7 +17,7 @@ vgg11 模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale I 返回 ::::::::: -vgg11 模型,Layer 的实例。 +11 层的 VGG 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/vgg13_cn.rst b/docs/api/paddle/vision/models/vgg13_cn.rst index 53288304a28..8d36312b5e3 100644 --- a/docs/api/paddle/vision/models/vgg13_cn.rst +++ b/docs/api/paddle/vision/models/vgg13_cn.rst @@ -6,7 +6,7 @@ vgg13 .. py:function:: paddle.vision.models.vgg13(pretrained=False, batch_norm=False, **kwargs) -vgg13 模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 +13 层的 VGG 模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 参数 ::::::::: @@ -17,7 +17,7 @@ vgg13 模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale I 返回 ::::::::: -vgg13 模型,Layer 的实例。 +13 层的 VGG 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/vgg16_cn.rst b/docs/api/paddle/vision/models/vgg16_cn.rst index 0f1b002f3c9..d722a6f5d40 100644 --- a/docs/api/paddle/vision/models/vgg16_cn.rst +++ b/docs/api/paddle/vision/models/vgg16_cn.rst @@ -6,7 +6,7 @@ vgg16 .. py:function:: paddle.vision.models.vgg16(pretrained=False, batch_norm=False, **kwargs) -vgg16 模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 +16 层的 VGG 模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 参数 ::::::::: @@ -17,7 +17,7 @@ vgg16 模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale I 返回 ::::::::: -vgg16 模型,Layer 的实例。 +16 层的 VGG 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/vgg19_cn.rst b/docs/api/paddle/vision/models/vgg19_cn.rst index 5ea89e3a4da..5e37977333a 100644 --- a/docs/api/paddle/vision/models/vgg19_cn.rst +++ b/docs/api/paddle/vision/models/vgg19_cn.rst @@ -6,7 +6,7 @@ vgg19 .. py:function:: paddle.vision.models.vgg19(pretrained=False, batch_norm=False, **kwargs) -vgg19 模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 +19 层的 VGG 模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale Image Recognition" `_ 。 参数 ::::::::: @@ -17,7 +17,7 @@ vgg19 模型,来自论文 `"Very Deep Convolutional Networks For Large-Scale I 返回 ::::::::: -vgg19 模型,Layer 的实例。 +19 层的 VGG 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 代码示例 ::::::::: From e870d0dcb81d9a437d3eb7e2f8e37167b68f288a Mon Sep 17 00:00:00 2001 From: Nyakku Shigure Date: Fri, 17 Jun 2022 12:40:29 +0000 Subject: [PATCH 07/16] fix the case of proper --- docs/api/paddle/vision/models/AlexNet_cn.rst | 4 ++-- docs/api/paddle/vision/models/DenseNet_cn.rst | 4 ++-- docs/api/paddle/vision/models/GoogLeNet_cn.rst | 5 +++-- docs/api/paddle/vision/models/MobileNetV1_cn.rst | 2 +- docs/api/paddle/vision/models/MobileNetV3Large_cn.rst | 2 +- docs/api/paddle/vision/models/MobileNetV3Small_cn.rst | 2 +- docs/api/paddle/vision/models/VGG_cn.rst | 2 +- docs/api/paddle/vision/models/alexnet_cn.rst | 2 +- docs/api/paddle/vision/models/densenet121_cn.rst | 4 ++-- docs/api/paddle/vision/models/densenet161_cn.rst | 4 ++-- docs/api/paddle/vision/models/densenet169_cn.rst | 4 ++-- docs/api/paddle/vision/models/densenet201_cn.rst | 4 ++-- docs/api/paddle/vision/models/densenet264_cn.rst | 4 ++-- docs/api/paddle/vision/models/googlenet_cn.rst | 2 +- docs/api/paddle/vision/models/inception_v3_cn.rst | 2 +- docs/api/paddle/vision/models/mobilenet_v1_cn.rst | 2 +- docs/api/paddle/vision/models/mobilenet_v2_cn.rst | 2 +- docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst | 2 +- docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst | 2 +- docs/api/paddle/vision/models/vgg11_cn.rst | 2 +- docs/api/paddle/vision/models/vgg13_cn.rst | 2 +- docs/api/paddle/vision/models/vgg16_cn.rst | 2 +- docs/api/paddle/vision/models/vgg19_cn.rst | 2 +- 30 files changed, 39 insertions(+), 38 deletions(-) diff --git a/docs/api/paddle/vision/models/AlexNet_cn.rst b/docs/api/paddle/vision/models/AlexNet_cn.rst index 9cd68ea93f7..0235bc333ec 100644 --- a/docs/api/paddle/vision/models/AlexNet_cn.rst +++ b/docs/api/paddle/vision/models/AlexNet_cn.rst @@ -3,7 +3,7 @@ AlexNet ------------------------------- -.. py:function:: paddle.vision.models.alexnet(pretrained=False, **kwargs) +.. py:function:: paddle.vision.models.AlexNet(num_classes=1000) AlexNet 模型,来自论文 `"ImageNet Classification with Deep Convolutional Neural Networks" `_ 。 @@ -11,7 +11,7 @@ AlexNet 模型,来自论文 `"ImageNet Classification with Deep Convolutional 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 + - **num_classes** (int,可选) - 类别数目,即最后一个全连接层输出的维度。默认值:1000。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/DenseNet_cn.rst b/docs/api/paddle/vision/models/DenseNet_cn.rst index d5d281c1cf0..7031ff4a4d7 100644 --- a/docs/api/paddle/vision/models/DenseNet_cn.rst +++ b/docs/api/paddle/vision/models/DenseNet_cn.rst @@ -3,7 +3,7 @@ DenseNet ------------------------------- -.. py:class:: paddle.vision.models.DenseNet(layers=121, bn_size=4, dropout=0., num_classes=1000) +.. py:class:: paddle.vision.models.DenseNet(layers=121, bn_size=4, dropout=0., num_classes=1000, with_pool=True) DenseNet 模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 @@ -11,7 +11,7 @@ DenseNet 模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 @@ -11,7 +11,8 @@ GoogLeNet(Inception v1)模型,来自论文 `"Going Deeper with Convolution 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 + - **num_classes** (int,可选) - 类别数目,即最后一个全连接层输出的维度。默认值:1000。 + - **with_pool** (bool,可选) - 是否定义最后一个全连接层之前的池化层。默认值:True。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/MobileNetV1_cn.rst b/docs/api/paddle/vision/models/MobileNetV1_cn.rst index 3b49342762a..837ffba522d 100644 --- a/docs/api/paddle/vision/models/MobileNetV1_cn.rst +++ b/docs/api/paddle/vision/models/MobileNetV1_cn.rst @@ -12,7 +12,7 @@ MobileNetV1 模型,来自论文 `"MobileNets: Efficient Convolutional Neural N ::::::::: - **scale** (float,可选) - 模型通道数的缩放比例。默认值:1.0。 - - **num_classes** (int,可选) - 最后一个全连接层输出的维度。如果该值小于0,则不定义最后一个全连接层。默认值:1000。 + - **num_classes** (int,可选) - 最后一个全连接层输出的维度。如果该值小于 0,则不定义最后一个全连接层。默认值:1000。 - **with_pool** (bool,可选) - 是否定义最后一个全连接层之前的池化层。默认值:True。 返回 diff --git a/docs/api/paddle/vision/models/MobileNetV3Large_cn.rst b/docs/api/paddle/vision/models/MobileNetV3Large_cn.rst index b78f50287e2..988f153b4da 100644 --- a/docs/api/paddle/vision/models/MobileNetV3Large_cn.rst +++ b/docs/api/paddle/vision/models/MobileNetV3Large_cn.rst @@ -12,7 +12,7 @@ MobileNetV3 Large 架构模型,来自论文 `"Searching for MobileNetV3" `。 返回 diff --git a/docs/api/paddle/vision/models/densenet121_cn.rst b/docs/api/paddle/vision/models/densenet121_cn.rst index 89484dd18ef..f7af15f3172 100644 --- a/docs/api/paddle/vision/models/densenet121_cn.rst +++ b/docs/api/paddle/vision/models/densenet121_cn.rst @@ -6,12 +6,12 @@ densenet121 .. py:function:: paddle.vision.models.densenet121(pretrained=False, **kwargs) -121 层的 densenet 模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 +121 层的 DenseNet 模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 ImageNet 数据集上的预训练权重。默认值:False。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet161_cn.rst b/docs/api/paddle/vision/models/densenet161_cn.rst index b9266539efc..70a59f5bca6 100644 --- a/docs/api/paddle/vision/models/densenet161_cn.rst +++ b/docs/api/paddle/vision/models/densenet161_cn.rst @@ -6,12 +6,12 @@ densenet161 .. py:function:: paddle.vision.models.densenet161(pretrained=False, **kwargs) -161 层的 densenet 模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 +161 层的 DenseNet 模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 ImageNet 数据集上的预训练权重。默认值:False。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet169_cn.rst b/docs/api/paddle/vision/models/densenet169_cn.rst index a6eb1b939b4..26e53dd7815 100644 --- a/docs/api/paddle/vision/models/densenet169_cn.rst +++ b/docs/api/paddle/vision/models/densenet169_cn.rst @@ -6,12 +6,12 @@ densenet169 .. py:function:: paddle.vision.models.densenet169(pretrained=False, **kwargs) -169 层的 densenet 模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 +169 层的 DenseNet 模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 ImageNet 数据集上的预训练权重。默认值:False。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet201_cn.rst b/docs/api/paddle/vision/models/densenet201_cn.rst index 49901bffc4d..1027bf07e3b 100644 --- a/docs/api/paddle/vision/models/densenet201_cn.rst +++ b/docs/api/paddle/vision/models/densenet201_cn.rst @@ -6,12 +6,12 @@ densenet201 .. py:function:: paddle.vision.models.densenet201(pretrained=False, **kwargs) -201 层的 densenet 模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 +201 层的 DenseNet 模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 ImageNet 数据集上的预训练权重。默认值:False。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet264_cn.rst b/docs/api/paddle/vision/models/densenet264_cn.rst index b4d54b1e565..7feb2b0c652 100644 --- a/docs/api/paddle/vision/models/densenet264_cn.rst +++ b/docs/api/paddle/vision/models/densenet264_cn.rst @@ -6,12 +6,12 @@ densenet264 .. py:function:: paddle.vision.models.densenet264(pretrained=False, **kwargs) -264 层的 densenet 模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 +264 层的 DenseNet 模型,来自论文 `"Densely Connected Convolutional Networks" `_ 。 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 ImageNet 数据集上的预训练权重。默认值:False。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/googlenet_cn.rst b/docs/api/paddle/vision/models/googlenet_cn.rst index be5e3aa6bf5..d2e1b985d40 100644 --- a/docs/api/paddle/vision/models/googlenet_cn.rst +++ b/docs/api/paddle/vision/models/googlenet_cn.rst @@ -11,7 +11,7 @@ GoogLeNet(Inception v1)模型,来自论文 `"Going Deeper with Convolution 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 ImageNet 数据集上的预训练权重。默认值:False。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/inception_v3_cn.rst b/docs/api/paddle/vision/models/inception_v3_cn.rst index 83275b39020..5b4d7ca5542 100644 --- a/docs/api/paddle/vision/models/inception_v3_cn.rst +++ b/docs/api/paddle/vision/models/inception_v3_cn.rst @@ -11,7 +11,7 @@ Inception v3 模型,来自论文 `"Rethinking the Inception Architecture for C 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 ImageNet 数据集上的预训练权重。默认值:False。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/mobilenet_v1_cn.rst b/docs/api/paddle/vision/models/mobilenet_v1_cn.rst index 49bfa06d46c..8a15772cc63 100644 --- a/docs/api/paddle/vision/models/mobilenet_v1_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v1_cn.rst @@ -11,7 +11,7 @@ MobileNetV1 模型,来自论文 `"MobileNets: Efficient Convolutional Neural N 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 ImageNet 数据集上的预训练权重。默认值:False。 - **scale** (float,可选) - 模型通道数的缩放比例。默认值:1.0。 返回 diff --git a/docs/api/paddle/vision/models/mobilenet_v2_cn.rst b/docs/api/paddle/vision/models/mobilenet_v2_cn.rst index 828454c61a3..60bf127f611 100644 --- a/docs/api/paddle/vision/models/mobilenet_v2_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v2_cn.rst @@ -11,7 +11,7 @@ MobileNetV2 模型,来自论文 `"MobileNetV2: Inverted Residuals and Linear B 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 imagenet 数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载在 ImageNet 数据集上的预训练权重。默认值:False。 - **scale** (float,可选) - 模型通道数的缩放比例。默认值:1.0。 返回 diff --git a/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst b/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst index 21f7e929895..7d2da2dbbb2 100644 --- a/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst @@ -11,7 +11,7 @@ MobileNetV3 Large 架构模型,来自论文 `"Searching for MobileNetV3" Date: Fri, 17 Jun 2022 13:21:35 +0000 Subject: [PATCH 08/16] refine parameter `pretrained` --- docs/api/paddle/vision/models/alexnet_cn.rst | 2 +- docs/api/paddle/vision/models/densenet121_cn.rst | 2 +- docs/api/paddle/vision/models/densenet161_cn.rst | 2 +- docs/api/paddle/vision/models/densenet169_cn.rst | 2 +- docs/api/paddle/vision/models/densenet201_cn.rst | 2 +- docs/api/paddle/vision/models/densenet264_cn.rst | 2 +- docs/api/paddle/vision/models/googlenet_cn.rst | 2 +- docs/api/paddle/vision/models/inception_v3_cn.rst | 2 +- docs/api/paddle/vision/models/mobilenet_v1_cn.rst | 2 +- docs/api/paddle/vision/models/mobilenet_v2_cn.rst | 2 +- docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst | 2 +- docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst | 2 +- docs/api/paddle/vision/models/squeezenet1_0_cn.rst | 2 +- docs/api/paddle/vision/models/squeezenet1_1_cn.rst | 2 +- docs/api/paddle/vision/models/vgg11_cn.rst | 2 +- docs/api/paddle/vision/models/vgg13_cn.rst | 2 +- docs/api/paddle/vision/models/vgg16_cn.rst | 2 +- docs/api/paddle/vision/models/vgg19_cn.rst | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/docs/api/paddle/vision/models/alexnet_cn.rst b/docs/api/paddle/vision/models/alexnet_cn.rst index 7f1869a43f6..6d7f98f56e8 100644 --- a/docs/api/paddle/vision/models/alexnet_cn.rst +++ b/docs/api/paddle/vision/models/alexnet_cn.rst @@ -11,7 +11,7 @@ AlexNet 模型,来自论文 `"ImageNet Classification with Deep Convolutional 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 ImageNet 数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`AlexNet `。 返回 diff --git a/docs/api/paddle/vision/models/densenet121_cn.rst b/docs/api/paddle/vision/models/densenet121_cn.rst index f7af15f3172..adcbb166fde 100644 --- a/docs/api/paddle/vision/models/densenet121_cn.rst +++ b/docs/api/paddle/vision/models/densenet121_cn.rst @@ -11,7 +11,7 @@ densenet121 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 ImageNet 数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet161_cn.rst b/docs/api/paddle/vision/models/densenet161_cn.rst index 70a59f5bca6..4a58838a141 100644 --- a/docs/api/paddle/vision/models/densenet161_cn.rst +++ b/docs/api/paddle/vision/models/densenet161_cn.rst @@ -11,7 +11,7 @@ densenet161 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 ImageNet 数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet169_cn.rst b/docs/api/paddle/vision/models/densenet169_cn.rst index 26e53dd7815..6af0bb31d12 100644 --- a/docs/api/paddle/vision/models/densenet169_cn.rst +++ b/docs/api/paddle/vision/models/densenet169_cn.rst @@ -11,7 +11,7 @@ densenet169 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 ImageNet 数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet201_cn.rst b/docs/api/paddle/vision/models/densenet201_cn.rst index 1027bf07e3b..fe05217321f 100644 --- a/docs/api/paddle/vision/models/densenet201_cn.rst +++ b/docs/api/paddle/vision/models/densenet201_cn.rst @@ -11,7 +11,7 @@ densenet201 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 ImageNet 数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet264_cn.rst b/docs/api/paddle/vision/models/densenet264_cn.rst index 7feb2b0c652..3aebf8a1b18 100644 --- a/docs/api/paddle/vision/models/densenet264_cn.rst +++ b/docs/api/paddle/vision/models/densenet264_cn.rst @@ -11,7 +11,7 @@ densenet264 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 ImageNet 数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/googlenet_cn.rst b/docs/api/paddle/vision/models/googlenet_cn.rst index d2e1b985d40..6447374b8c2 100644 --- a/docs/api/paddle/vision/models/googlenet_cn.rst +++ b/docs/api/paddle/vision/models/googlenet_cn.rst @@ -11,7 +11,7 @@ GoogLeNet(Inception v1)模型,来自论文 `"Going Deeper with Convolution 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 ImageNet 数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/inception_v3_cn.rst b/docs/api/paddle/vision/models/inception_v3_cn.rst index 5b4d7ca5542..90cdb59be68 100644 --- a/docs/api/paddle/vision/models/inception_v3_cn.rst +++ b/docs/api/paddle/vision/models/inception_v3_cn.rst @@ -11,7 +11,7 @@ Inception v3 模型,来自论文 `"Rethinking the Inception Architecture for C 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 ImageNet 数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/mobilenet_v1_cn.rst b/docs/api/paddle/vision/models/mobilenet_v1_cn.rst index 8a15772cc63..82a601bb9ff 100644 --- a/docs/api/paddle/vision/models/mobilenet_v1_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v1_cn.rst @@ -11,7 +11,7 @@ MobileNetV1 模型,来自论文 `"MobileNets: Efficient Convolutional Neural N 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 ImageNet 数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - **scale** (float,可选) - 模型通道数的缩放比例。默认值:1.0。 返回 diff --git a/docs/api/paddle/vision/models/mobilenet_v2_cn.rst b/docs/api/paddle/vision/models/mobilenet_v2_cn.rst index 60bf127f611..8dfbcf4d57d 100644 --- a/docs/api/paddle/vision/models/mobilenet_v2_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v2_cn.rst @@ -11,7 +11,7 @@ MobileNetV2 模型,来自论文 `"MobileNetV2: Inverted Residuals and Linear B 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载在 ImageNet 数据集上的预训练权重。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - **scale** (float,可选) - 模型通道数的缩放比例。默认值:1.0。 返回 diff --git a/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst b/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst index 7d2da2dbbb2..1a235c86a63 100644 --- a/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst @@ -11,7 +11,7 @@ MobileNetV3 Large 架构模型,来自论文 `"Searching for MobileNetV3" Date: Fri, 17 Jun 2022 13:51:08 +0000 Subject: [PATCH 09/16] add parameter `kwargs` --- docs/api/paddle/vision/models/densenet121_cn.rst | 1 + docs/api/paddle/vision/models/densenet161_cn.rst | 1 + docs/api/paddle/vision/models/densenet169_cn.rst | 1 + docs/api/paddle/vision/models/densenet201_cn.rst | 1 + docs/api/paddle/vision/models/densenet264_cn.rst | 1 + docs/api/paddle/vision/models/googlenet_cn.rst | 1 + docs/api/paddle/vision/models/inception_v3_cn.rst | 1 + docs/api/paddle/vision/models/mobilenet_v1_cn.rst | 1 + docs/api/paddle/vision/models/mobilenet_v2_cn.rst | 1 + docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst | 1 + docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst | 1 + docs/api/paddle/vision/models/resnet101_cn.rst | 1 + docs/api/paddle/vision/models/resnet152_cn.rst | 1 + docs/api/paddle/vision/models/resnet18_cn.rst | 1 + docs/api/paddle/vision/models/resnet34_cn.rst | 1 + docs/api/paddle/vision/models/resnet50_cn.rst | 1 + docs/api/paddle/vision/models/resnext101_32x4d_cn.rst | 1 + docs/api/paddle/vision/models/resnext101_64x4d_cn.rst | 1 + docs/api/paddle/vision/models/resnext152_32x4d_cn.rst | 1 + docs/api/paddle/vision/models/resnext152_64x4d_cn.rst | 1 + docs/api/paddle/vision/models/resnext50_32x4d_cn.rst | 1 + docs/api/paddle/vision/models/resnext50_64x4d_cn.rst | 1 + docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst | 1 + docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst | 1 + docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst | 1 + docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst | 1 + docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst | 1 + docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst | 1 + docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst | 1 + docs/api/paddle/vision/models/squeezenet1_0_cn.rst | 1 + docs/api/paddle/vision/models/squeezenet1_1_cn.rst | 1 + docs/api/paddle/vision/models/vgg11_cn.rst | 1 + docs/api/paddle/vision/models/vgg13_cn.rst | 1 + docs/api/paddle/vision/models/vgg16_cn.rst | 1 + docs/api/paddle/vision/models/vgg19_cn.rst | 1 + docs/api/paddle/vision/models/wide_resnet101_2_cn.rst | 1 + docs/api/paddle/vision/models/wide_resnet50_2_cn.rst | 1 + 37 files changed, 37 insertions(+) diff --git a/docs/api/paddle/vision/models/densenet121_cn.rst b/docs/api/paddle/vision/models/densenet121_cn.rst index adcbb166fde..3387f6fe637 100644 --- a/docs/api/paddle/vision/models/densenet121_cn.rst +++ b/docs/api/paddle/vision/models/densenet121_cn.rst @@ -12,6 +12,7 @@ densenet121 ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`DenseNet `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet161_cn.rst b/docs/api/paddle/vision/models/densenet161_cn.rst index 4a58838a141..3b09f929484 100644 --- a/docs/api/paddle/vision/models/densenet161_cn.rst +++ b/docs/api/paddle/vision/models/densenet161_cn.rst @@ -12,6 +12,7 @@ densenet161 ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`DenseNet `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet169_cn.rst b/docs/api/paddle/vision/models/densenet169_cn.rst index 6af0bb31d12..6b52caf9c74 100644 --- a/docs/api/paddle/vision/models/densenet169_cn.rst +++ b/docs/api/paddle/vision/models/densenet169_cn.rst @@ -12,6 +12,7 @@ densenet169 ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`DenseNet `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet201_cn.rst b/docs/api/paddle/vision/models/densenet201_cn.rst index fe05217321f..1eb64051448 100644 --- a/docs/api/paddle/vision/models/densenet201_cn.rst +++ b/docs/api/paddle/vision/models/densenet201_cn.rst @@ -12,6 +12,7 @@ densenet201 ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`DenseNet `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/densenet264_cn.rst b/docs/api/paddle/vision/models/densenet264_cn.rst index 3aebf8a1b18..221334e35d5 100644 --- a/docs/api/paddle/vision/models/densenet264_cn.rst +++ b/docs/api/paddle/vision/models/densenet264_cn.rst @@ -12,6 +12,7 @@ densenet264 ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`DenseNet `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/googlenet_cn.rst b/docs/api/paddle/vision/models/googlenet_cn.rst index 6447374b8c2..418ae04b547 100644 --- a/docs/api/paddle/vision/models/googlenet_cn.rst +++ b/docs/api/paddle/vision/models/googlenet_cn.rst @@ -12,6 +12,7 @@ GoogLeNet(Inception v1)模型,来自论文 `"Going Deeper with Convolution ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`GoogLeNet `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/inception_v3_cn.rst b/docs/api/paddle/vision/models/inception_v3_cn.rst index 90cdb59be68..06550b94ce3 100644 --- a/docs/api/paddle/vision/models/inception_v3_cn.rst +++ b/docs/api/paddle/vision/models/inception_v3_cn.rst @@ -12,6 +12,7 @@ Inception v3 模型,来自论文 `"Rethinking the Inception Architecture for C ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`InceptionV3 `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/mobilenet_v1_cn.rst b/docs/api/paddle/vision/models/mobilenet_v1_cn.rst index 82a601bb9ff..ecdac9b66d6 100644 --- a/docs/api/paddle/vision/models/mobilenet_v1_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v1_cn.rst @@ -13,6 +13,7 @@ MobileNetV1 模型,来自论文 `"MobileNets: Efficient Convolutional Neural N - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - **scale** (float,可选) - 模型通道数的缩放比例。默认值:1.0。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`MobileNetV1 `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/mobilenet_v2_cn.rst b/docs/api/paddle/vision/models/mobilenet_v2_cn.rst index 8dfbcf4d57d..d69739bfaa6 100644 --- a/docs/api/paddle/vision/models/mobilenet_v2_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v2_cn.rst @@ -13,6 +13,7 @@ MobileNetV2 模型,来自论文 `"MobileNetV2: Inverted Residuals and Linear B - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - **scale** (float,可选) - 模型通道数的缩放比例。默认值:1.0。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`MobileNetV2 `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst b/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst index 1a235c86a63..d7c055d90b5 100644 --- a/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst @@ -13,6 +13,7 @@ MobileNetV3 Large 架构模型,来自论文 `"Searching for MobileNetV3" `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst b/docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst index 2135a68a01e..323d241e04f 100644 --- a/docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst @@ -13,6 +13,7 @@ MobileNetV3 Small 架构模型,来自论文 `"Searching for MobileNetV3" `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/resnet101_cn.rst b/docs/api/paddle/vision/models/resnet101_cn.rst index 188cdc94459..a8b25f2cfc7 100644 --- a/docs/api/paddle/vision/models/resnet101_cn.rst +++ b/docs/api/paddle/vision/models/resnet101_cn.rst @@ -12,6 +12,7 @@ resnet101 ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/resnet152_cn.rst b/docs/api/paddle/vision/models/resnet152_cn.rst index 4273d9064d3..7e74e8f10e1 100644 --- a/docs/api/paddle/vision/models/resnet152_cn.rst +++ b/docs/api/paddle/vision/models/resnet152_cn.rst @@ -12,6 +12,7 @@ resnet152 ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/resnet18_cn.rst b/docs/api/paddle/vision/models/resnet18_cn.rst index b2ff670742a..1907ecbd5ea 100644 --- a/docs/api/paddle/vision/models/resnet18_cn.rst +++ b/docs/api/paddle/vision/models/resnet18_cn.rst @@ -12,6 +12,7 @@ resnet18 ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/resnet34_cn.rst b/docs/api/paddle/vision/models/resnet34_cn.rst index cf2b4038400..85cac71bb25 100644 --- a/docs/api/paddle/vision/models/resnet34_cn.rst +++ b/docs/api/paddle/vision/models/resnet34_cn.rst @@ -12,6 +12,7 @@ resnet34 ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/resnet50_cn.rst b/docs/api/paddle/vision/models/resnet50_cn.rst index 97370099fd3..47e01b0abb8 100644 --- a/docs/api/paddle/vision/models/resnet50_cn.rst +++ b/docs/api/paddle/vision/models/resnet50_cn.rst @@ -12,6 +12,7 @@ resnet50 ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/resnext101_32x4d_cn.rst b/docs/api/paddle/vision/models/resnext101_32x4d_cn.rst index 17ee342057d..e6abffac883 100644 --- a/docs/api/paddle/vision/models/resnext101_32x4d_cn.rst +++ b/docs/api/paddle/vision/models/resnext101_32x4d_cn.rst @@ -12,6 +12,7 @@ ResNeXt-101 32x4d 模型,来自论文 `"Aggregated Residual Transformations fo ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/resnext101_64x4d_cn.rst b/docs/api/paddle/vision/models/resnext101_64x4d_cn.rst index d984fbc27c6..91e8756ccc4 100644 --- a/docs/api/paddle/vision/models/resnext101_64x4d_cn.rst +++ b/docs/api/paddle/vision/models/resnext101_64x4d_cn.rst @@ -12,6 +12,7 @@ ResNeXt-101 64x4d 模型,来自论文 `"Aggregated Residual Transformations fo ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/resnext152_32x4d_cn.rst b/docs/api/paddle/vision/models/resnext152_32x4d_cn.rst index 4bd223c7386..d3822299e98 100644 --- a/docs/api/paddle/vision/models/resnext152_32x4d_cn.rst +++ b/docs/api/paddle/vision/models/resnext152_32x4d_cn.rst @@ -12,6 +12,7 @@ ResNeXt-152 32x4d 模型,来自论文 `"Aggregated Residual Transformations fo ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/resnext152_64x4d_cn.rst b/docs/api/paddle/vision/models/resnext152_64x4d_cn.rst index 21789ac464e..540d3af9ffc 100644 --- a/docs/api/paddle/vision/models/resnext152_64x4d_cn.rst +++ b/docs/api/paddle/vision/models/resnext152_64x4d_cn.rst @@ -12,6 +12,7 @@ ResNeXt-152 64x4d 模型,来自论文 `"Aggregated Residual Transformations fo ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/resnext50_32x4d_cn.rst b/docs/api/paddle/vision/models/resnext50_32x4d_cn.rst index 2cea0a14603..08fd260918f 100644 --- a/docs/api/paddle/vision/models/resnext50_32x4d_cn.rst +++ b/docs/api/paddle/vision/models/resnext50_32x4d_cn.rst @@ -12,6 +12,7 @@ ResNeXt-50 32x4d 模型,来自论文 `"Aggregated Residual Transformations for ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/resnext50_64x4d_cn.rst b/docs/api/paddle/vision/models/resnext50_64x4d_cn.rst index 7b2101b4e73..5024f004a65 100644 --- a/docs/api/paddle/vision/models/resnext50_64x4d_cn.rst +++ b/docs/api/paddle/vision/models/resnext50_64x4d_cn.rst @@ -12,6 +12,7 @@ ResNeXt-50 64x4d 模型,来自论文 `"Aggregated Residual Transformations for ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst index 26a74037e88..987ac21cee3 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst @@ -12,6 +12,7 @@ shufflenet_v2_swish ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst index 72d13683c2a..91ac695644a 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst @@ -12,6 +12,7 @@ shufflenet_v2_x0_25 ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst index 048ec3ed063..36282376dd1 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst @@ -12,6 +12,7 @@ shufflenet_v2_x0_33 ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst index ee0ce8cc643..92a59ebb0d1 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst @@ -12,6 +12,7 @@ shufflenet_v2_x0_5 ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst index 0d616cda5f0..21d392b81f9 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst @@ -12,6 +12,7 @@ shufflenet_v2_x1_0 ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst index 814d17dcba7..2a08bd259e1 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst @@ -12,6 +12,7 @@ shufflenet_v2_x1_5 ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst index e8d6a716006..1328e298199 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst @@ -12,6 +12,7 @@ shufflenet_v2_x2_0 ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/squeezenet1_0_cn.rst b/docs/api/paddle/vision/models/squeezenet1_0_cn.rst index aef24534ddd..ad0e3c6f409 100644 --- a/docs/api/paddle/vision/models/squeezenet1_0_cn.rst +++ b/docs/api/paddle/vision/models/squeezenet1_0_cn.rst @@ -12,6 +12,7 @@ SqueezeNet v1.0 模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`SqueezeNet `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/squeezenet1_1_cn.rst b/docs/api/paddle/vision/models/squeezenet1_1_cn.rst index e0cb82498d2..66ffc13a429 100644 --- a/docs/api/paddle/vision/models/squeezenet1_1_cn.rst +++ b/docs/api/paddle/vision/models/squeezenet1_1_cn.rst @@ -12,6 +12,7 @@ SqueezeNet v1.1 模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with ::::::::: - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`SqueezeNet `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/vgg11_cn.rst b/docs/api/paddle/vision/models/vgg11_cn.rst index d2423dde108..33e4b5dcc4d 100644 --- a/docs/api/paddle/vision/models/vgg11_cn.rst +++ b/docs/api/paddle/vision/models/vgg11_cn.rst @@ -13,6 +13,7 @@ vgg11 - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - **batch_norm** (bool,可选) - 是否在每个卷积层后添加批归一化层。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`VGG `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/vgg13_cn.rst b/docs/api/paddle/vision/models/vgg13_cn.rst index 8977d84245f..6bdcc22c26d 100644 --- a/docs/api/paddle/vision/models/vgg13_cn.rst +++ b/docs/api/paddle/vision/models/vgg13_cn.rst @@ -13,6 +13,7 @@ vgg13 - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - **batch_norm** (bool,可选) - 是否在每个卷积层后添加批归一化层。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`VGG `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/vgg16_cn.rst b/docs/api/paddle/vision/models/vgg16_cn.rst index e9b15e6890b..b4ecdc7e9ff 100644 --- a/docs/api/paddle/vision/models/vgg16_cn.rst +++ b/docs/api/paddle/vision/models/vgg16_cn.rst @@ -13,6 +13,7 @@ vgg16 - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - **batch_norm** (bool,可选) - 是否在每个卷积层后添加批归一化层。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`VGG `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/vgg19_cn.rst b/docs/api/paddle/vision/models/vgg19_cn.rst index bab58751c2a..41051a42daf 100644 --- a/docs/api/paddle/vision/models/vgg19_cn.rst +++ b/docs/api/paddle/vision/models/vgg19_cn.rst @@ -13,6 +13,7 @@ vgg19 - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - **batch_norm** (bool,可选) - 是否在每个卷积层后添加批归一化层。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`VGG `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/wide_resnet101_2_cn.rst b/docs/api/paddle/vision/models/wide_resnet101_2_cn.rst index 8997279ce12..fbe45cc6c88 100644 --- a/docs/api/paddle/vision/models/wide_resnet101_2_cn.rst +++ b/docs/api/paddle/vision/models/wide_resnet101_2_cn.rst @@ -12,6 +12,7 @@ Wide ResNet-101-2 模型,来自论文 `"Wide Residual Networks" `。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/wide_resnet50_2_cn.rst b/docs/api/paddle/vision/models/wide_resnet50_2_cn.rst index 79fe660770a..c61b56face3 100644 --- a/docs/api/paddle/vision/models/wide_resnet50_2_cn.rst +++ b/docs/api/paddle/vision/models/wide_resnet50_2_cn.rst @@ -12,6 +12,7 @@ Wide ResNet-50-2 模型,来自论文 `"Wide Residual Networks" `。 返回 ::::::::: From 988f34b60c230c5b99945ce8fe0298d337272ec1 Mon Sep 17 00:00:00 2001 From: Nyakku Shigure Date: Fri, 17 Jun 2022 14:09:06 +0000 Subject: [PATCH 10/16] refine parameter `num_classes` --- docs/api/paddle/vision/models/AlexNet_cn.rst | 2 +- docs/api/paddle/vision/models/DenseNet_cn.rst | 2 +- docs/api/paddle/vision/models/GoogLeNet_cn.rst | 2 +- docs/api/paddle/vision/models/InceptionV3_cn.rst | 2 +- docs/api/paddle/vision/models/LeNet_cn.rst | 2 +- docs/api/paddle/vision/models/MobileNetV1_cn.rst | 2 +- docs/api/paddle/vision/models/MobileNetV2_cn.rst | 2 +- docs/api/paddle/vision/models/MobileNetV3Large_cn.rst | 2 +- docs/api/paddle/vision/models/MobileNetV3Small_cn.rst | 2 +- docs/api/paddle/vision/models/ResNet_cn.rst | 2 +- docs/api/paddle/vision/models/ShuffleNetV2_cn.rst | 2 +- docs/api/paddle/vision/models/SqueezeNet_cn.rst | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/api/paddle/vision/models/AlexNet_cn.rst b/docs/api/paddle/vision/models/AlexNet_cn.rst index 0235bc333ec..4c36a492eba 100644 --- a/docs/api/paddle/vision/models/AlexNet_cn.rst +++ b/docs/api/paddle/vision/models/AlexNet_cn.rst @@ -11,7 +11,7 @@ AlexNet 模型,来自论文 `"ImageNet Classification with Deep Convolutional 参数 ::::::::: - - **num_classes** (int,可选) - 类别数目,即最后一个全连接层输出的维度。默认值:1000。 + - **num_classes** (int,可选) - 最后一个全连接层输出的维度。如果该值小于等于 0,则不定义最后一个全连接层。默认值:1000。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/DenseNet_cn.rst b/docs/api/paddle/vision/models/DenseNet_cn.rst index 7031ff4a4d7..3d79be1d2d0 100644 --- a/docs/api/paddle/vision/models/DenseNet_cn.rst +++ b/docs/api/paddle/vision/models/DenseNet_cn.rst @@ -14,7 +14,7 @@ DenseNet 模型,来自论文 `"Densely Connected Convolutional Networks" Date: Fri, 17 Jun 2022 14:26:43 +0000 Subject: [PATCH 11/16] missing parameter `with_pool` --- docs/api/paddle/vision/models/SqueezeNet_cn.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/paddle/vision/models/SqueezeNet_cn.rst b/docs/api/paddle/vision/models/SqueezeNet_cn.rst index 242d39de4ac..3762dcbac7b 100644 --- a/docs/api/paddle/vision/models/SqueezeNet_cn.rst +++ b/docs/api/paddle/vision/models/SqueezeNet_cn.rst @@ -3,7 +3,7 @@ SqueezeNet ------------------------------- -.. py:function:: paddle.vision.models.SqueezeNet(version, num_classes=1000) +.. py:function:: paddle.vision.models.SqueezeNet(version, num_classes=1000, with_pool=True) SqueezeNet 模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size" `_ 。 From 1ca1fe767a4f8f610cac2ddc6b545b96562544e7 Mon Sep 17 00:00:00 2001 From: Nyakku Shigure Date: Fri, 17 Jun 2022 15:03:38 +0000 Subject: [PATCH 12/16] CRLF -> LF MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @Ainavo 出来挨打,为什么你写的全是 CRLF 的…… --- .../paddle/vision/models/ShuffleNetV2_cn.rst | 54 +++++++++---------- .../vision/models/resnext101_32x4d_cn.rst | 50 ++++++++--------- .../vision/models/resnext101_64x4d_cn.rst | 50 ++++++++--------- .../vision/models/resnext152_32x4d_cn.rst | 50 ++++++++--------- .../vision/models/resnext152_64x4d_cn.rst | 50 ++++++++--------- .../vision/models/resnext50_32x4d_cn.rst | 50 ++++++++--------- .../vision/models/resnext50_64x4d_cn.rst | 50 ++++++++--------- .../vision/models/shufflenet_v2_swish_cn.rst | 50 ++++++++--------- .../vision/models/shufflenet_v2_x0_25_cn.rst | 50 ++++++++--------- .../vision/models/shufflenet_v2_x0_33_cn.rst | 50 ++++++++--------- .../vision/models/shufflenet_v2_x0_5_cn.rst | 50 ++++++++--------- .../vision/models/shufflenet_v2_x1_0_cn.rst | 50 ++++++++--------- .../vision/models/shufflenet_v2_x1_5_cn.rst | 50 ++++++++--------- .../vision/models/shufflenet_v2_x2_0_cn.rst | 48 ++++++++--------- 14 files changed, 351 insertions(+), 351 deletions(-) diff --git a/docs/api/paddle/vision/models/ShuffleNetV2_cn.rst b/docs/api/paddle/vision/models/ShuffleNetV2_cn.rst index f2936bbb781..ff2cb3e8730 100644 --- a/docs/api/paddle/vision/models/ShuffleNetV2_cn.rst +++ b/docs/api/paddle/vision/models/ShuffleNetV2_cn.rst @@ -1,27 +1,27 @@ -.. _cn_api_paddle_vision_models_ShuffleNetV2: - -ShuffleNetV2 -------------------------------- - -.. py:class:: paddle.vision.models.ShuffleNetV2(scale=1.0, act="relu", num_classes=1000, with_pool=True) - - -ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Design" `_ 。 - -参数 -::::::::: - - - **scale** (float,可选) - 模型通道数的缩放比例。默认值:1.0。 - - **act** (str,可选) - 网络中使用的激活函数。默认值:"relu"。 - - **num_classes** (int,可选) - 最后一个全连接层输出的维度。如果该值小于等于 0,则不定义最后一个全连接层。默认值:1000。 - - **with_pool** (bool,可选) - 是否定义最后一个全连接层之前的池化层。默认值:True。 - -返回 -::::::::: - -ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 - -代码示例 -::::::::: - -COPY-FROM: paddle.vision.models.ShuffleNetV2 +.. _cn_api_paddle_vision_models_ShuffleNetV2: + +ShuffleNetV2 +------------------------------- + +.. py:class:: paddle.vision.models.ShuffleNetV2(scale=1.0, act="relu", num_classes=1000, with_pool=True) + + +ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Design" `_ 。 + +参数 +::::::::: + + - **scale** (float,可选) - 模型通道数的缩放比例。默认值:1.0。 + - **act** (str,可选) - 网络中使用的激活函数。默认值:"relu"。 + - **num_classes** (int,可选) - 最后一个全连接层输出的维度。如果该值小于等于 0,则不定义最后一个全连接层。默认值:1000。 + - **with_pool** (bool,可选) - 是否定义最后一个全连接层之前的池化层。默认值:True。 + +返回 +::::::::: + +ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 + +代码示例 +::::::::: + +COPY-FROM: paddle.vision.models.ShuffleNetV2 diff --git a/docs/api/paddle/vision/models/resnext101_32x4d_cn.rst b/docs/api/paddle/vision/models/resnext101_32x4d_cn.rst index e6abffac883..66b4d6d30d9 100644 --- a/docs/api/paddle/vision/models/resnext101_32x4d_cn.rst +++ b/docs/api/paddle/vision/models/resnext101_32x4d_cn.rst @@ -1,25 +1,25 @@ -.. _cn_api_paddle_vision_models_resnext101_32x4d: - -resnext101_32x4d -------------------------------- - -.. py:function:: paddle.vision.models.resnext101_32x4d(pretrained=False, **kwargs) - - -ResNeXt-101 32x4d 模型,来自论文 `"Aggregated Residual Transformations for Deep Neural Networks" `_ 。 - -参数 -::::::::: - - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 - -返回 -::::::::: - -ResNeXt-101 32x4d 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 - -代码示例 -::::::::: - -COPY-FROM: paddle.vision.models.resnext101_32x4d +.. _cn_api_paddle_vision_models_resnext101_32x4d: + +resnext101_32x4d +------------------------------- + +.. py:function:: paddle.vision.models.resnext101_32x4d(pretrained=False, **kwargs) + + +ResNeXt-101 32x4d 模型,来自论文 `"Aggregated Residual Transformations for Deep Neural Networks" `_ 。 + +参数 +::::::::: + + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 + +返回 +::::::::: + +ResNeXt-101 32x4d 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 + +代码示例 +::::::::: + +COPY-FROM: paddle.vision.models.resnext101_32x4d diff --git a/docs/api/paddle/vision/models/resnext101_64x4d_cn.rst b/docs/api/paddle/vision/models/resnext101_64x4d_cn.rst index 91e8756ccc4..85d17f0687d 100644 --- a/docs/api/paddle/vision/models/resnext101_64x4d_cn.rst +++ b/docs/api/paddle/vision/models/resnext101_64x4d_cn.rst @@ -1,25 +1,25 @@ -.. _cn_api_paddle_vision_models_resnext101_64x4d: - -resnext101_64x4d -------------------------------- - -.. py:function:: paddle.vision.models.resnext101_64x4d(pretrained=False, **kwargs) - - -ResNeXt-101 64x4d 模型,来自论文 `"Aggregated Residual Transformations for Deep Neural Networks" `_ 。 - -参数 -::::::::: - - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 - -返回 -::::::::: - -ResNeXt-101 64x4d 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 - -代码示例 -::::::::: - -COPY-FROM: paddle.vision.models.resnext101_64x4d +.. _cn_api_paddle_vision_models_resnext101_64x4d: + +resnext101_64x4d +------------------------------- + +.. py:function:: paddle.vision.models.resnext101_64x4d(pretrained=False, **kwargs) + + +ResNeXt-101 64x4d 模型,来自论文 `"Aggregated Residual Transformations for Deep Neural Networks" `_ 。 + +参数 +::::::::: + + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 + +返回 +::::::::: + +ResNeXt-101 64x4d 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 + +代码示例 +::::::::: + +COPY-FROM: paddle.vision.models.resnext101_64x4d diff --git a/docs/api/paddle/vision/models/resnext152_32x4d_cn.rst b/docs/api/paddle/vision/models/resnext152_32x4d_cn.rst index d3822299e98..e47d8069b6e 100644 --- a/docs/api/paddle/vision/models/resnext152_32x4d_cn.rst +++ b/docs/api/paddle/vision/models/resnext152_32x4d_cn.rst @@ -1,25 +1,25 @@ -.. _cn_api_paddle_vision_models_resnext152_32x4d: - -resnext152_32x4d -------------------------------- - -.. py:function:: paddle.vision.models.resnext152_32x4d(pretrained=False, **kwargs) - - -ResNeXt-152 32x4d 模型,来自论文 `"Aggregated Residual Transformations for Deep Neural Networks" `_ 。 - -参数 -::::::::: - - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 - -返回 -::::::::: - -ResNeXt-152 32x4d 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 - -代码示例 -::::::::: - -COPY-FROM: paddle.vision.models.resnext152_32x4d +.. _cn_api_paddle_vision_models_resnext152_32x4d: + +resnext152_32x4d +------------------------------- + +.. py:function:: paddle.vision.models.resnext152_32x4d(pretrained=False, **kwargs) + + +ResNeXt-152 32x4d 模型,来自论文 `"Aggregated Residual Transformations for Deep Neural Networks" `_ 。 + +参数 +::::::::: + + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 + +返回 +::::::::: + +ResNeXt-152 32x4d 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 + +代码示例 +::::::::: + +COPY-FROM: paddle.vision.models.resnext152_32x4d diff --git a/docs/api/paddle/vision/models/resnext152_64x4d_cn.rst b/docs/api/paddle/vision/models/resnext152_64x4d_cn.rst index 540d3af9ffc..4902c97c715 100644 --- a/docs/api/paddle/vision/models/resnext152_64x4d_cn.rst +++ b/docs/api/paddle/vision/models/resnext152_64x4d_cn.rst @@ -1,25 +1,25 @@ -.. _cn_api_paddle_vision_models_resnext152_64x4d: - -resnext152_64x4d -------------------------------- - -.. py:function:: paddle.vision.models.resnext152_64x4d(pretrained=False, **kwargs) - - -ResNeXt-152 64x4d 模型,来自论文 `"Aggregated Residual Transformations for Deep Neural Networks" `_ 。 - -参数 -::::::::: - - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 - -返回 -::::::::: - -ResNeXt-152 64x4d 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 - -代码示例 -::::::::: - -COPY-FROM: paddle.vision.models.resnext152_64x4d +.. _cn_api_paddle_vision_models_resnext152_64x4d: + +resnext152_64x4d +------------------------------- + +.. py:function:: paddle.vision.models.resnext152_64x4d(pretrained=False, **kwargs) + + +ResNeXt-152 64x4d 模型,来自论文 `"Aggregated Residual Transformations for Deep Neural Networks" `_ 。 + +参数 +::::::::: + + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 + +返回 +::::::::: + +ResNeXt-152 64x4d 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 + +代码示例 +::::::::: + +COPY-FROM: paddle.vision.models.resnext152_64x4d diff --git a/docs/api/paddle/vision/models/resnext50_32x4d_cn.rst b/docs/api/paddle/vision/models/resnext50_32x4d_cn.rst index 08fd260918f..99fa442c5ac 100644 --- a/docs/api/paddle/vision/models/resnext50_32x4d_cn.rst +++ b/docs/api/paddle/vision/models/resnext50_32x4d_cn.rst @@ -1,25 +1,25 @@ -.. _cn_api_paddle_vision_models_resnext50_32x4d: - -resnext50_32x4d -------------------------------- - -.. py:function:: paddle.vision.models.resnext50_32x4d(pretrained=False, **kwargs) - - -ResNeXt-50 32x4d 模型,来自论文 `"Aggregated Residual Transformations for Deep Neural Networks" `_ 。 - -参数 -::::::::: - - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 - -返回 -::::::::: - -ResNeXt-50 32x4d 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 - -代码示例 -::::::::: - -COPY-FROM: paddle.vision.models.resnext50_32x4d +.. _cn_api_paddle_vision_models_resnext50_32x4d: + +resnext50_32x4d +------------------------------- + +.. py:function:: paddle.vision.models.resnext50_32x4d(pretrained=False, **kwargs) + + +ResNeXt-50 32x4d 模型,来自论文 `"Aggregated Residual Transformations for Deep Neural Networks" `_ 。 + +参数 +::::::::: + + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 + +返回 +::::::::: + +ResNeXt-50 32x4d 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 + +代码示例 +::::::::: + +COPY-FROM: paddle.vision.models.resnext50_32x4d diff --git a/docs/api/paddle/vision/models/resnext50_64x4d_cn.rst b/docs/api/paddle/vision/models/resnext50_64x4d_cn.rst index 5024f004a65..483d017469c 100644 --- a/docs/api/paddle/vision/models/resnext50_64x4d_cn.rst +++ b/docs/api/paddle/vision/models/resnext50_64x4d_cn.rst @@ -1,25 +1,25 @@ -.. _cn_api_paddle_vision_models_resnext50_64x4d: - -resnext50_64x4d -------------------------------- - -.. py:function:: paddle.vision.models.resnext50_64x4d(pretrained=False, **kwargs) - - -ResNeXt-50 64x4d 模型,来自论文 `"Aggregated Residual Transformations for Deep Neural Networks" `_ 。 - -参数 -::::::::: - - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 - -返回 -::::::::: - -ResNeXt-50 64x4d 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 - -代码示例 -::::::::: - -COPY-FROM: paddle.vision.models.resnext50_64x4d +.. _cn_api_paddle_vision_models_resnext50_64x4d: + +resnext50_64x4d +------------------------------- + +.. py:function:: paddle.vision.models.resnext50_64x4d(pretrained=False, **kwargs) + + +ResNeXt-50 64x4d 模型,来自论文 `"Aggregated Residual Transformations for Deep Neural Networks" `_ 。 + +参数 +::::::::: + + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 + +返回 +::::::::: + +ResNeXt-50 64x4d 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 + +代码示例 +::::::::: + +COPY-FROM: paddle.vision.models.resnext50_64x4d diff --git a/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst index 987ac21cee3..690592aec00 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst @@ -1,25 +1,25 @@ -.. _cn_api_paddle_vision_models_shufflenet_v2_swish: - -shufflenet_v2_swish -------------------------------- - -.. py:function:: paddle.vision.models.shufflenet_v2_swish(pretrained=False, **kwargs) - - -使用 swish 作为激活函数的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 - -参数 -::::::::: - - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 - -返回 -::::::::: - -使用 swish 作为激活函数的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 - -代码示例 -::::::::: - -COPY-FROM: paddle.vision.models.shufflenet_v2_swish +.. _cn_api_paddle_vision_models_shufflenet_v2_swish: + +shufflenet_v2_swish +------------------------------- + +.. py:function:: paddle.vision.models.shufflenet_v2_swish(pretrained=False, **kwargs) + + +使用 swish 作为激活函数的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 + +参数 +::::::::: + + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 + +返回 +::::::::: + +使用 swish 作为激活函数的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 + +代码示例 +::::::::: + +COPY-FROM: paddle.vision.models.shufflenet_v2_swish diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst index 91ac695644a..c5d4ab461c1 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst @@ -1,25 +1,25 @@ -.. _cn_api_paddle_vision_models_shufflenet_v2_x0_25: - -shufflenet_v2_x0_25 -------------------------------- - -.. py:function:: paddle.vision.models.shufflenet_v2_x0_25(pretrained=False, **kwargs) - - -输出通道缩放比例为 0.25 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 - -参数 -::::::::: - - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 - -返回 -::::::::: - -输出通道缩放比例为 0.25 的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 - -代码示例 -::::::::: - -COPY-FROM: paddle.vision.models.shufflenet_v2_x0_25 +.. _cn_api_paddle_vision_models_shufflenet_v2_x0_25: + +shufflenet_v2_x0_25 +------------------------------- + +.. py:function:: paddle.vision.models.shufflenet_v2_x0_25(pretrained=False, **kwargs) + + +输出通道缩放比例为 0.25 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 + +参数 +::::::::: + + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 + +返回 +::::::::: + +输出通道缩放比例为 0.25 的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 + +代码示例 +::::::::: + +COPY-FROM: paddle.vision.models.shufflenet_v2_x0_25 diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst index 36282376dd1..d2bffccfaca 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst @@ -1,25 +1,25 @@ -.. _cn_api_paddle_vision_models_shufflenet_v2_x0_33: - -shufflenet_v2_x0_33 -------------------------------- - -.. py:function:: paddle.vision.models.shufflenet_v2_x0_33(pretrained=False, **kwargs) - - -输出通道缩放比例为 0.33 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 - -参数 -::::::::: - - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 - -返回 -::::::::: - -输出通道缩放比例为 0.33 的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 - -代码示例 -::::::::: - -COPY-FROM: paddle.vision.models.shufflenet_v2_x0_33 +.. _cn_api_paddle_vision_models_shufflenet_v2_x0_33: + +shufflenet_v2_x0_33 +------------------------------- + +.. py:function:: paddle.vision.models.shufflenet_v2_x0_33(pretrained=False, **kwargs) + + +输出通道缩放比例为 0.33 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 + +参数 +::::::::: + + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 + +返回 +::::::::: + +输出通道缩放比例为 0.33 的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 + +代码示例 +::::::::: + +COPY-FROM: paddle.vision.models.shufflenet_v2_x0_33 diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst index 92a59ebb0d1..9850d37c0df 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst @@ -1,25 +1,25 @@ -.. _cn_api_paddle_vision_models_shufflenet_v2_x0_5: - -shufflenet_v2_x0_5 -------------------------------- - -.. py:function:: paddle.vision.models.shufflenet_v2_x0_5(pretrained=False, **kwargs) - - -输出通道缩放比例为 0.5 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 - -参数 -::::::::: - - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 - -返回 -::::::::: - -输出通道缩放比例为 0.5 的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 - -代码示例 -::::::::: - -COPY-FROM: paddle.vision.models.shufflenet_v2_x0_5 +.. _cn_api_paddle_vision_models_shufflenet_v2_x0_5: + +shufflenet_v2_x0_5 +------------------------------- + +.. py:function:: paddle.vision.models.shufflenet_v2_x0_5(pretrained=False, **kwargs) + + +输出通道缩放比例为 0.5 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 + +参数 +::::::::: + + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 + +返回 +::::::::: + +输出通道缩放比例为 0.5 的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 + +代码示例 +::::::::: + +COPY-FROM: paddle.vision.models.shufflenet_v2_x0_5 diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst index 21d392b81f9..76637f5ee1b 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst @@ -1,25 +1,25 @@ -.. _cn_api_paddle_vision_models_shufflenet_v2_x1_0: - -shufflenet_v2_x1_0 -------------------------------- - -.. py:function:: paddle.vision.models.shufflenet_v2_x1_0(pretrained=False, **kwargs) - - -输出通道缩放比例为 1.0 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 - -参数 -::::::::: - - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 - -返回 -::::::::: - -输出通道缩放比例为 1.0 的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 - -代码示例 -::::::::: - -COPY-FROM: paddle.vision.models.shufflenet_v2_x1_0 +.. _cn_api_paddle_vision_models_shufflenet_v2_x1_0: + +shufflenet_v2_x1_0 +------------------------------- + +.. py:function:: paddle.vision.models.shufflenet_v2_x1_0(pretrained=False, **kwargs) + + +输出通道缩放比例为 1.0 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 + +参数 +::::::::: + + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 + +返回 +::::::::: + +输出通道缩放比例为 1.0 的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 + +代码示例 +::::::::: + +COPY-FROM: paddle.vision.models.shufflenet_v2_x1_0 diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst index 2a08bd259e1..fa122a2cc97 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst @@ -1,25 +1,25 @@ -.. _cn_api_paddle_vision_models_shufflenet_v2_x1_5: - -shufflenet_v2_x1_5 -------------------------------- - -.. py:function:: paddle.vision.models.shufflenet_v2_x1_5(pretrained=False, **kwargs) - - -输出通道缩放比例为 1.5 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 - -参数 -::::::::: - - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 - -返回 -::::::::: - -输出通道缩放比例为 1.5 的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 - -代码示例 -::::::::: - -COPY-FROM: paddle.vision.models.shufflenet_v2_x1_5 +.. _cn_api_paddle_vision_models_shufflenet_v2_x1_5: + +shufflenet_v2_x1_5 +------------------------------- + +.. py:function:: paddle.vision.models.shufflenet_v2_x1_5(pretrained=False, **kwargs) + + +输出通道缩放比例为 1.5 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 + +参数 +::::::::: + + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 + +返回 +::::::::: + +输出通道缩放比例为 1.5 的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 + +代码示例 +::::::::: + +COPY-FROM: paddle.vision.models.shufflenet_v2_x1_5 diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst index 1328e298199..241ce7b2346 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst @@ -1,24 +1,24 @@ -.. _cn_api_paddle_vision_models_shufflenet_v2_x2_0: - -shufflenet_v2_x2_0 -------------------------------- - -.. py:function:: paddle.vision.models.shufflenet_v2_x2_0(pretrained=False, **kwargs) - - -输出通道缩放比例为 2.0 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 - -参数 -::::::::: - - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 - -返回 -::::::::: - -输出通道缩放比例为 2.0 的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 - -代码示例 - -COPY-FROM: paddle.vision.models.shufflenet_v2_x2_0 +.. _cn_api_paddle_vision_models_shufflenet_v2_x2_0: + +shufflenet_v2_x2_0 +------------------------------- + +.. py:function:: paddle.vision.models.shufflenet_v2_x2_0(pretrained=False, **kwargs) + + +输出通道缩放比例为 2.0 的 ShuffleNetV2 模型,来自论文 `"ShuffleNet V2: Practical Guidelines for Ecient CNN Architecture Design" `_ 。 + +参数 +::::::::: + + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 + +返回 +::::::::: + +输出通道缩放比例为 2.0 的 ShuffleNetV2 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 + +代码示例 + +COPY-FROM: paddle.vision.models.shufflenet_v2_x2_0 From ccdc2bd5276446f787a1eb47570d04c35a9d8937 Mon Sep 17 00:00:00 2001 From: Nyakku Shigure Date: Mon, 20 Jun 2022 07:34:18 +0000 Subject: [PATCH 13/16] add some missing api labels --- docs/api/api_label | 67 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 51 insertions(+), 16 deletions(-) diff --git a/docs/api/api_label b/docs/api/api_label index 8f4ee5bf936..fb622f16792 100644 --- a/docs/api/api_label +++ b/docs/api/api_label @@ -1042,36 +1042,67 @@ paddle.utils.download.get_weights_path_from_url .. _api_paddle_utils_download_ge paddle.utils.profiler.get_profiler .. _api_paddle_utils_profiler_get_profiler: paddle.utils.profiler.Profiler .. _api_paddle_utils_profiler_Profiler: paddle.utils.profiler.ProfilerOptions .. _api_paddle_utils_profiler_ProfilerOptions: +paddle.vision.AlexNet .. _api_paddle_vision_AlexNet: +paddle.vision.alexnet .. _api_paddle_vision_alexnet: +paddle.vision.DenseNet .. _api_paddle_vision_DenseNet: +paddle.vision.densenet121 .. _api_paddle_vision_densenet121: +paddle.vision.densenet161 .. _api_paddle_vision_densenet161: +paddle.vision.densenet169 .. _api_paddle_vision_densenet169: +paddle.vision.densenet201 .. _api_paddle_vision_densenet201: +paddle.vision.densenet264 .. _api_paddle_vision_densenet264: paddle.vision.FashionMNIST .. _api_paddle_vision_FashionMNIST: paddle.vision.Flowers .. _api_paddle_vision_Flowers: -paddle.vision.resnet34 .. _api_paddle_vision_resnet34: -paddle.vision.MobileNetV2 .. _api_paddle_vision_MobileNetV2: -paddle.vision.RandomResizedCrop .. _api_paddle_vision_RandomResizedCrop: +paddle.vision.GoogLeNet .. _api_paddle_vision_GoogLeNet: +paddle.vision.googlenet .. _api_paddle_vision_googlenet: +paddle.vision.inception_v3 .. _api_paddle_vision_inception_v3: +paddle.vision.InceptionV3 .. _api_paddle_vision_InceptionV3: paddle.vision.HueTransform .. _api_paddle_vision_HueTransform: -paddle.vision.to_tensor .. _api_paddle_vision_to_tensor: -paddle.vision.ResNet .. _api_paddle_vision_ResNet: +paddle.vision.RandomResizedCrop .. _api_paddle_vision_RandomResizedCrop: paddle.vision.RandomCrop .. _api_paddle_vision_RandomCrop: +paddle.vision.ResNet .. _api_paddle_vision_ResNet: +paddle.vision.resnet101 .. _api_paddle_vision_resnet101: +paddle.vision.resnet152 .. _api_paddle_vision_resnet152: +paddle.vision.resnet18 .. _api_paddle_vision_resnet18: +paddle.vision.resnet34 .. _api_paddle_vision_resnet34: +paddle.vision.resnet50 .. _api_paddle_vision_resnet50: +paddle.vision.resnext101_32x4d .. _api_paddle_vision_resnext101_32x4d: +paddle.vision.resnext101_64x4d .. _api_paddle_vision_resnext101_64x4d: +paddle.vision.resnext152_32x4d .. _api_paddle_vision_resnext152_32x4d: +paddle.vision.resnext152_64x4d .. _api_paddle_vision_resnext152_64x4d: +paddle.vision.resnext50_32x4d .. _api_paddle_vision_resnext50_32x4d: +paddle.vision.resnext50_64x4d .. _api_paddle_vision_resnext50_64x4d: +paddle.vision.shufflenet_v2_swish .. _api_paddle_vision_shufflenet_v2_swish: +paddle.vision.shufflenet_v2_x0_25 .. _api_paddle_vision_shufflenet_v2_x0_25: +paddle.vision.shufflenet_v2_x0_33 .. _api_paddle_vision_shufflenet_v2_x0_33: +paddle.vision.shufflenet_v2_x0_5 .. _api_paddle_vision_shufflenet_v2_x0_5: +paddle.vision.shufflenet_v2_x1_0 .. _api_paddle_vision_shufflenet_v2_x1_0: +paddle.vision.shufflenet_v2_x1_5 .. _api_paddle_vision_shufflenet_v2_x1_5: +paddle.vision.shufflenet_v2_x2_0 .. _api_paddle_vision_shufflenet_v2_x2_0: +paddle.vision.ShuffleNetV2 .. _api_paddle_vision_ShuffleNetV2: +paddle.vision.SqueezeNet .. _api_paddle_vision_SqueezeNet: +paddle.vision.squeezenet1_0 .. _api_paddle_vision_squeezenet1_0: +paddle.vision.squeezenet1_1 .. _api_paddle_vision_squeezenet1_1: +paddle.vision.to_tensor .. _api_paddle_vision_to_tensor: paddle.vision.ToTensor .. _api_paddle_vision_ToTensor: paddle.vision.Cifar100 .. _api_paddle_vision_Cifar100: paddle.vision.DatasetFolder .. _api_paddle_vision_DatasetFolder: paddle.vision.crop .. _api_paddle_vision_crop: paddle.vision.RandomHorizontalFlip .. _api_paddle_vision_RandomHorizontalFlip: paddle.vision.resize .. _api_paddle_vision_resize: -paddle.vision.resnet50 .. _api_paddle_vision_resnet50: paddle.vision.Resize .. _api_paddle_vision_Resize: paddle.vision.CenterCrop .. _api_paddle_vision_CenterCrop: paddle.vision.adjust_hue .. _api_paddle_vision_adjust_hue: paddle.vision.image_load .. _api_paddle_vision_image_load: paddle.vision.MNIST .. _api_paddle_vision_MNIST: -paddle.vision.mobilenet_v1 .. _api_paddle_vision_mobilenet_v1: paddle.vision.get_image_backend .. _api_paddle_vision_get_image_backend: -paddle.vision.resnet101 .. _api_paddle_vision_resnet101: paddle.vision.Grayscale .. _api_paddle_vision_Grayscale: paddle.vision.VGG .. _api_paddle_vision_VGG: +paddle.vision.vgg11 .. _api_paddle_vision_vgg11: +paddle.vision.vgg13 .. _api_paddle_vision_vgg13: +paddle.vision.vgg16 .. _api_paddle_vision_vgg16: +paddle.vision.vgg19 .. _api_paddle_vision_vgg19: paddle.vision.VOC2012 .. _api_paddle_vision_VOC2012: paddle.vision.Transpose .. _api_paddle_vision_Transpose: -paddle.vision.resnet18 .. _api_paddle_vision_resnet18: -paddle.vision.vgg11 .. _api_paddle_vision_vgg11: paddle.vision.center_crop .. _api_paddle_vision_center_crop: paddle.vision.adjust_brightness .. _api_paddle_vision_adjust_brightness: paddle.vision.set_image_backend .. _api_paddle_vision_set_image_backend: @@ -1080,27 +1111,31 @@ paddle.vision.Pad .. _api_paddle_vision_Pad: paddle.vision.normalize .. _api_paddle_vision_normalize: paddle.vision.Cifar10 .. _api_paddle_vision_Cifar10: paddle.vision.ColorJitter .. _api_paddle_vision_ColorJitter: -paddle.vision.MobileNetV1 .. _api_paddle_vision_MobileNetV1: paddle.vision.pad .. _api_paddle_vision_pad: paddle.vision.vflip .. _api_paddle_vision_vflip: paddle.vision.RandomVerticalFlip .. _api_paddle_vision_RandomVerticalFlip: paddle.vision.adjust_contrast .. _api_paddle_vision_adjust_contrast: paddle.vision.models.LeNet .. _api_paddle_vision_models_LeNet: +paddle.vision.mobilenet_v1 .. _api_paddle_vision_mobilenet_v1: +paddle.vision.mobilenet_v2 .. _api_paddle_vision_mobilenet_v2: +paddle.vision.mobilenet_v3_large .. _api_paddle_vision_mobilenet_v3_large: +paddle.vision.mobilenet_v3_small .. _api_paddle_vision_mobilenet_v3_small: +paddle.vision.MobileNetV1 .. _api_paddle_vision_MobileNetV1: +paddle.vision.MobileNetV2 .. _api_paddle_vision_MobileNetV2: +paddle.vision.MobileNetV3Large .. _api_paddle_vision_MobileNetV3Large: +paddle.vision.MobileNetV3Small .. _api_paddle_vision_MobileNetV3Small: paddle.vision.Compose .. _api_paddle_vision_Compose: -paddle.vision.vgg13 .. _api_paddle_vision_vgg13: paddle.vision.BaseTransform .. _api_paddle_vision_BaseTransform: paddle.vision.to_grayscale .. _api_paddle_vision_to_grayscale: paddle.vision.BrightnessTransform .. _api_paddle_vision_BrightnessTransform: paddle.vision.RandomRotation .. _api_paddle_vision_RandomRotation: paddle.vision.rotate .. _api_paddle_vision_rotate: -paddle.vision.vgg16 .. _api_paddle_vision_vgg16: -paddle.vision.resnet152 .. _api_paddle_vision_resnet152: paddle.vision.ImageFolder .. _api_paddle_vision_ImageFolder: -paddle.vision.vgg19 .. _api_paddle_vision_vgg19: paddle.vision.hflip .. _api_paddle_vision_hflip: paddle.vision.ContrastTransform .. _api_paddle_vision_ContrastTransform: -paddle.vision.mobilenet_v2 .. _api_paddle_vision_mobilenet_v2: paddle.vision.Normalize .. _api_paddle_vision_Normalize: +paddle.vision.wide_resnet101_2 .. _api_paddle_vision_wide_resnet101_2: +paddle.vision.wide_resnet50_2 .. _api_paddle_vision_wide_resnet50_2: paddle.vision.ops.yolo_loss .. _api_paddle_vision_ops_yolo_loss: paddle.vision.ops.yolo_box .. _api_paddle_vision_ops_yolo_box: paddle.vision.ops.decode_jpeg .. _api_paddle_vision_ops_decode_jpeg: From 59a55877b869782c337fa0f0e0737eecf7cfbcca Mon Sep 17 00:00:00 2001 From: Nyakku Shigure Date: Mon, 20 Jun 2022 08:34:03 +0000 Subject: [PATCH 14/16] =?UTF-8?q?`=E9=BB=98=E8=AE=A4=E5=80=BC=EF=BC=9A`=20?= =?UTF-8?q?->=20`=E9=BB=98=E8=AE=A4=E5=80=BC=E4=B8=BA=20`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/api/paddle/vision/models/AlexNet_cn.rst | 2 +- docs/api/paddle/vision/models/DenseNet_cn.rst | 10 +++++----- docs/api/paddle/vision/models/GoogLeNet_cn.rst | 4 ++-- docs/api/paddle/vision/models/InceptionV3_cn.rst | 4 ++-- docs/api/paddle/vision/models/LeNet_cn.rst | 2 +- docs/api/paddle/vision/models/MobileNetV1_cn.rst | 6 +++--- docs/api/paddle/vision/models/MobileNetV2_cn.rst | 6 +++--- docs/api/paddle/vision/models/MobileNetV3Large_cn.rst | 6 +++--- docs/api/paddle/vision/models/MobileNetV3Small_cn.rst | 6 +++--- docs/api/paddle/vision/models/ResNet_cn.rst | 10 +++++----- docs/api/paddle/vision/models/ShuffleNetV2_cn.rst | 8 ++++---- docs/api/paddle/vision/models/SqueezeNet_cn.rst | 6 +++--- docs/api/paddle/vision/models/VGG_cn.rst | 4 ++-- docs/api/paddle/vision/models/alexnet_cn.rst | 2 +- docs/api/paddle/vision/models/densenet121_cn.rst | 2 +- docs/api/paddle/vision/models/densenet161_cn.rst | 2 +- docs/api/paddle/vision/models/densenet169_cn.rst | 2 +- docs/api/paddle/vision/models/densenet201_cn.rst | 2 +- docs/api/paddle/vision/models/densenet264_cn.rst | 2 +- docs/api/paddle/vision/models/googlenet_cn.rst | 2 +- docs/api/paddle/vision/models/inception_v3_cn.rst | 2 +- docs/api/paddle/vision/models/mobilenet_v1_cn.rst | 4 ++-- docs/api/paddle/vision/models/mobilenet_v2_cn.rst | 4 ++-- .../api/paddle/vision/models/mobilenet_v3_large_cn.rst | 4 ++-- .../api/paddle/vision/models/mobilenet_v3_small_cn.rst | 4 ++-- docs/api/paddle/vision/models/resnet101_cn.rst | 2 +- docs/api/paddle/vision/models/resnet152_cn.rst | 2 +- docs/api/paddle/vision/models/resnet18_cn.rst | 2 +- docs/api/paddle/vision/models/resnet34_cn.rst | 2 +- docs/api/paddle/vision/models/resnet50_cn.rst | 2 +- docs/api/paddle/vision/models/resnext101_32x4d_cn.rst | 2 +- docs/api/paddle/vision/models/resnext101_64x4d_cn.rst | 2 +- docs/api/paddle/vision/models/resnext152_32x4d_cn.rst | 2 +- docs/api/paddle/vision/models/resnext152_64x4d_cn.rst | 2 +- docs/api/paddle/vision/models/resnext50_32x4d_cn.rst | 2 +- docs/api/paddle/vision/models/resnext50_64x4d_cn.rst | 2 +- .../paddle/vision/models/shufflenet_v2_swish_cn.rst | 2 +- .../paddle/vision/models/shufflenet_v2_x0_25_cn.rst | 2 +- .../paddle/vision/models/shufflenet_v2_x0_33_cn.rst | 2 +- .../api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst | 2 +- .../api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst | 2 +- .../api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst | 2 +- .../api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst | 2 +- docs/api/paddle/vision/models/squeezenet1_0_cn.rst | 2 +- docs/api/paddle/vision/models/squeezenet1_1_cn.rst | 2 +- docs/api/paddle/vision/models/vgg11_cn.rst | 4 ++-- docs/api/paddle/vision/models/vgg13_cn.rst | 4 ++-- docs/api/paddle/vision/models/vgg16_cn.rst | 4 ++-- docs/api/paddle/vision/models/vgg19_cn.rst | 4 ++-- docs/api/paddle/vision/models/wide_resnet101_2_cn.rst | 2 +- docs/api/paddle/vision/models/wide_resnet50_2_cn.rst | 2 +- 51 files changed, 83 insertions(+), 83 deletions(-) diff --git a/docs/api/paddle/vision/models/AlexNet_cn.rst b/docs/api/paddle/vision/models/AlexNet_cn.rst index 4c36a492eba..f62f9c96ccd 100644 --- a/docs/api/paddle/vision/models/AlexNet_cn.rst +++ b/docs/api/paddle/vision/models/AlexNet_cn.rst @@ -11,7 +11,7 @@ AlexNet 模型,来自论文 `"ImageNet Classification with Deep Convolutional 参数 ::::::::: - - **num_classes** (int,可选) - 最后一个全连接层输出的维度。如果该值小于等于 0,则不定义最后一个全连接层。默认值:1000。 + - **num_classes** (int,可选) - 最后一个全连接层输出的维度。如果该值小于等于 0,则不定义最后一个全连接层。默认值为 1000。 返回 ::::::::: diff --git a/docs/api/paddle/vision/models/DenseNet_cn.rst b/docs/api/paddle/vision/models/DenseNet_cn.rst index 3d79be1d2d0..b2521b1a3a5 100644 --- a/docs/api/paddle/vision/models/DenseNet_cn.rst +++ b/docs/api/paddle/vision/models/DenseNet_cn.rst @@ -11,11 +11,11 @@ DenseNet 模型,来自论文 `"Densely Connected Convolutional Networks" `。 返回 diff --git a/docs/api/paddle/vision/models/densenet121_cn.rst b/docs/api/paddle/vision/models/densenet121_cn.rst index 3387f6fe637..541361de471 100644 --- a/docs/api/paddle/vision/models/densenet121_cn.rst +++ b/docs/api/paddle/vision/models/densenet121_cn.rst @@ -11,7 +11,7 @@ densenet121 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`DenseNet `。 返回 diff --git a/docs/api/paddle/vision/models/densenet161_cn.rst b/docs/api/paddle/vision/models/densenet161_cn.rst index 3b09f929484..a25d2aa90da 100644 --- a/docs/api/paddle/vision/models/densenet161_cn.rst +++ b/docs/api/paddle/vision/models/densenet161_cn.rst @@ -11,7 +11,7 @@ densenet161 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`DenseNet `。 返回 diff --git a/docs/api/paddle/vision/models/densenet169_cn.rst b/docs/api/paddle/vision/models/densenet169_cn.rst index 6b52caf9c74..7582f0866e7 100644 --- a/docs/api/paddle/vision/models/densenet169_cn.rst +++ b/docs/api/paddle/vision/models/densenet169_cn.rst @@ -11,7 +11,7 @@ densenet169 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`DenseNet `。 返回 diff --git a/docs/api/paddle/vision/models/densenet201_cn.rst b/docs/api/paddle/vision/models/densenet201_cn.rst index 1eb64051448..144f48aa47b 100644 --- a/docs/api/paddle/vision/models/densenet201_cn.rst +++ b/docs/api/paddle/vision/models/densenet201_cn.rst @@ -11,7 +11,7 @@ densenet201 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`DenseNet `。 返回 diff --git a/docs/api/paddle/vision/models/densenet264_cn.rst b/docs/api/paddle/vision/models/densenet264_cn.rst index 221334e35d5..7385a84a4ec 100644 --- a/docs/api/paddle/vision/models/densenet264_cn.rst +++ b/docs/api/paddle/vision/models/densenet264_cn.rst @@ -11,7 +11,7 @@ densenet264 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`DenseNet `。 返回 diff --git a/docs/api/paddle/vision/models/googlenet_cn.rst b/docs/api/paddle/vision/models/googlenet_cn.rst index 418ae04b547..6608281f633 100644 --- a/docs/api/paddle/vision/models/googlenet_cn.rst +++ b/docs/api/paddle/vision/models/googlenet_cn.rst @@ -11,7 +11,7 @@ GoogLeNet(Inception v1)模型,来自论文 `"Going Deeper with Convolution 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`GoogLeNet `。 返回 diff --git a/docs/api/paddle/vision/models/inception_v3_cn.rst b/docs/api/paddle/vision/models/inception_v3_cn.rst index 06550b94ce3..440f7a77220 100644 --- a/docs/api/paddle/vision/models/inception_v3_cn.rst +++ b/docs/api/paddle/vision/models/inception_v3_cn.rst @@ -11,7 +11,7 @@ Inception v3 模型,来自论文 `"Rethinking the Inception Architecture for C 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`InceptionV3 `。 返回 diff --git a/docs/api/paddle/vision/models/mobilenet_v1_cn.rst b/docs/api/paddle/vision/models/mobilenet_v1_cn.rst index ecdac9b66d6..c9988bfcf3b 100644 --- a/docs/api/paddle/vision/models/mobilenet_v1_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v1_cn.rst @@ -11,8 +11,8 @@ MobileNetV1 模型,来自论文 `"MobileNets: Efficient Convolutional Neural N 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - - **scale** (float,可选) - 模型通道数的缩放比例。默认值:1.0。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 + - **scale** (float,可选) - 模型通道数的缩放比例。默认值为 1.0。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`MobileNetV1 `。 返回 diff --git a/docs/api/paddle/vision/models/mobilenet_v2_cn.rst b/docs/api/paddle/vision/models/mobilenet_v2_cn.rst index d69739bfaa6..cf03b4ba93e 100644 --- a/docs/api/paddle/vision/models/mobilenet_v2_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v2_cn.rst @@ -11,8 +11,8 @@ MobileNetV2 模型,来自论文 `"MobileNetV2: Inverted Residuals and Linear B 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - - **scale** (float,可选) - 模型通道数的缩放比例。默认值:1.0。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 + - **scale** (float,可选) - 模型通道数的缩放比例。默认值为 1.0。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`MobileNetV2 `。 返回 diff --git a/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst b/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst index d7c055d90b5..1caea50734a 100644 --- a/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst @@ -11,8 +11,8 @@ MobileNetV3 Large 架构模型,来自论文 `"Searching for MobileNetV3" `。 返回 diff --git a/docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst b/docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst index 323d241e04f..3340c4461da 100644 --- a/docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst +++ b/docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst @@ -11,8 +11,8 @@ MobileNetV3 Small 架构模型,来自论文 `"Searching for MobileNetV3" `。 返回 diff --git a/docs/api/paddle/vision/models/resnet101_cn.rst b/docs/api/paddle/vision/models/resnet101_cn.rst index a8b25f2cfc7..67860bb3ae8 100644 --- a/docs/api/paddle/vision/models/resnet101_cn.rst +++ b/docs/api/paddle/vision/models/resnet101_cn.rst @@ -11,7 +11,7 @@ resnet101 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 diff --git a/docs/api/paddle/vision/models/resnet152_cn.rst b/docs/api/paddle/vision/models/resnet152_cn.rst index 7e74e8f10e1..f7b8fe9ce96 100644 --- a/docs/api/paddle/vision/models/resnet152_cn.rst +++ b/docs/api/paddle/vision/models/resnet152_cn.rst @@ -11,7 +11,7 @@ resnet152 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 diff --git a/docs/api/paddle/vision/models/resnet18_cn.rst b/docs/api/paddle/vision/models/resnet18_cn.rst index 1907ecbd5ea..d0e522072b2 100644 --- a/docs/api/paddle/vision/models/resnet18_cn.rst +++ b/docs/api/paddle/vision/models/resnet18_cn.rst @@ -11,7 +11,7 @@ resnet18 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 diff --git a/docs/api/paddle/vision/models/resnet34_cn.rst b/docs/api/paddle/vision/models/resnet34_cn.rst index 85cac71bb25..d49f766040d 100644 --- a/docs/api/paddle/vision/models/resnet34_cn.rst +++ b/docs/api/paddle/vision/models/resnet34_cn.rst @@ -11,7 +11,7 @@ resnet34 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 diff --git a/docs/api/paddle/vision/models/resnet50_cn.rst b/docs/api/paddle/vision/models/resnet50_cn.rst index 47e01b0abb8..89d89bb5d51 100644 --- a/docs/api/paddle/vision/models/resnet50_cn.rst +++ b/docs/api/paddle/vision/models/resnet50_cn.rst @@ -11,7 +11,7 @@ resnet50 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 diff --git a/docs/api/paddle/vision/models/resnext101_32x4d_cn.rst b/docs/api/paddle/vision/models/resnext101_32x4d_cn.rst index 66b4d6d30d9..ad55ff5f377 100644 --- a/docs/api/paddle/vision/models/resnext101_32x4d_cn.rst +++ b/docs/api/paddle/vision/models/resnext101_32x4d_cn.rst @@ -11,7 +11,7 @@ ResNeXt-101 32x4d 模型,来自论文 `"Aggregated Residual Transformations fo 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 diff --git a/docs/api/paddle/vision/models/resnext101_64x4d_cn.rst b/docs/api/paddle/vision/models/resnext101_64x4d_cn.rst index 85d17f0687d..41c6818203c 100644 --- a/docs/api/paddle/vision/models/resnext101_64x4d_cn.rst +++ b/docs/api/paddle/vision/models/resnext101_64x4d_cn.rst @@ -11,7 +11,7 @@ ResNeXt-101 64x4d 模型,来自论文 `"Aggregated Residual Transformations fo 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 diff --git a/docs/api/paddle/vision/models/resnext152_32x4d_cn.rst b/docs/api/paddle/vision/models/resnext152_32x4d_cn.rst index e47d8069b6e..b7686f86999 100644 --- a/docs/api/paddle/vision/models/resnext152_32x4d_cn.rst +++ b/docs/api/paddle/vision/models/resnext152_32x4d_cn.rst @@ -11,7 +11,7 @@ ResNeXt-152 32x4d 模型,来自论文 `"Aggregated Residual Transformations fo 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 diff --git a/docs/api/paddle/vision/models/resnext152_64x4d_cn.rst b/docs/api/paddle/vision/models/resnext152_64x4d_cn.rst index 4902c97c715..4078cd50704 100644 --- a/docs/api/paddle/vision/models/resnext152_64x4d_cn.rst +++ b/docs/api/paddle/vision/models/resnext152_64x4d_cn.rst @@ -11,7 +11,7 @@ ResNeXt-152 64x4d 模型,来自论文 `"Aggregated Residual Transformations fo 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 diff --git a/docs/api/paddle/vision/models/resnext50_32x4d_cn.rst b/docs/api/paddle/vision/models/resnext50_32x4d_cn.rst index 99fa442c5ac..83e30722254 100644 --- a/docs/api/paddle/vision/models/resnext50_32x4d_cn.rst +++ b/docs/api/paddle/vision/models/resnext50_32x4d_cn.rst @@ -11,7 +11,7 @@ ResNeXt-50 32x4d 模型,来自论文 `"Aggregated Residual Transformations for 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 diff --git a/docs/api/paddle/vision/models/resnext50_64x4d_cn.rst b/docs/api/paddle/vision/models/resnext50_64x4d_cn.rst index 483d017469c..20cb5436fe4 100644 --- a/docs/api/paddle/vision/models/resnext50_64x4d_cn.rst +++ b/docs/api/paddle/vision/models/resnext50_64x4d_cn.rst @@ -11,7 +11,7 @@ ResNeXt-50 64x4d 模型,来自论文 `"Aggregated Residual Transformations for 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ResNet `。 返回 diff --git a/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst index 690592aec00..28f25a11977 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst @@ -11,7 +11,7 @@ shufflenet_v2_swish 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 返回 diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst index c5d4ab461c1..ebde91b3fd1 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst @@ -11,7 +11,7 @@ shufflenet_v2_x0_25 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 返回 diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst index d2bffccfaca..cc467c93ad9 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst @@ -11,7 +11,7 @@ shufflenet_v2_x0_33 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 返回 diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst index 9850d37c0df..560440057fd 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst @@ -11,7 +11,7 @@ shufflenet_v2_x0_5 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 返回 diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst index 76637f5ee1b..45ac70fa59e 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst @@ -11,7 +11,7 @@ shufflenet_v2_x1_0 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 返回 diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst index fa122a2cc97..5bd0ec41504 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst @@ -11,7 +11,7 @@ shufflenet_v2_x1_5 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 返回 diff --git a/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst b/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst index 241ce7b2346..58d414bf489 100644 --- a/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst +++ b/docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst @@ -11,7 +11,7 @@ shufflenet_v2_x2_0 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`ShuffleNetV2 `。 返回 diff --git a/docs/api/paddle/vision/models/squeezenet1_0_cn.rst b/docs/api/paddle/vision/models/squeezenet1_0_cn.rst index ad0e3c6f409..170e6915393 100644 --- a/docs/api/paddle/vision/models/squeezenet1_0_cn.rst +++ b/docs/api/paddle/vision/models/squeezenet1_0_cn.rst @@ -11,7 +11,7 @@ SqueezeNet v1.0 模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`SqueezeNet `。 返回 diff --git a/docs/api/paddle/vision/models/squeezenet1_1_cn.rst b/docs/api/paddle/vision/models/squeezenet1_1_cn.rst index 66ffc13a429..a0dc8c3f5a8 100644 --- a/docs/api/paddle/vision/models/squeezenet1_1_cn.rst +++ b/docs/api/paddle/vision/models/squeezenet1_1_cn.rst @@ -11,7 +11,7 @@ SqueezeNet v1.1 模型,来自论文 `"SqueezeNet: AlexNet-level accuracy with 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`SqueezeNet `。 返回 diff --git a/docs/api/paddle/vision/models/vgg11_cn.rst b/docs/api/paddle/vision/models/vgg11_cn.rst index 33e4b5dcc4d..b85da543060 100644 --- a/docs/api/paddle/vision/models/vgg11_cn.rst +++ b/docs/api/paddle/vision/models/vgg11_cn.rst @@ -11,8 +11,8 @@ vgg11 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - - **batch_norm** (bool,可选) - 是否在每个卷积层后添加批归一化层。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 + - **batch_norm** (bool,可选) - 是否在每个卷积层后添加批归一化层。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`VGG `。 返回 diff --git a/docs/api/paddle/vision/models/vgg13_cn.rst b/docs/api/paddle/vision/models/vgg13_cn.rst index 6bdcc22c26d..c7a3e76e4ed 100644 --- a/docs/api/paddle/vision/models/vgg13_cn.rst +++ b/docs/api/paddle/vision/models/vgg13_cn.rst @@ -11,8 +11,8 @@ vgg13 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - - **batch_norm** (bool,可选) - 是否在每个卷积层后添加批归一化层。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 + - **batch_norm** (bool,可选) - 是否在每个卷积层后添加批归一化层。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`VGG `。 返回 diff --git a/docs/api/paddle/vision/models/vgg16_cn.rst b/docs/api/paddle/vision/models/vgg16_cn.rst index b4ecdc7e9ff..be599793304 100644 --- a/docs/api/paddle/vision/models/vgg16_cn.rst +++ b/docs/api/paddle/vision/models/vgg16_cn.rst @@ -11,8 +11,8 @@ vgg16 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - - **batch_norm** (bool,可选) - 是否在每个卷积层后添加批归一化层。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 + - **batch_norm** (bool,可选) - 是否在每个卷积层后添加批归一化层。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`VGG `。 返回 diff --git a/docs/api/paddle/vision/models/vgg19_cn.rst b/docs/api/paddle/vision/models/vgg19_cn.rst index 41051a42daf..7e315846043 100644 --- a/docs/api/paddle/vision/models/vgg19_cn.rst +++ b/docs/api/paddle/vision/models/vgg19_cn.rst @@ -11,8 +11,8 @@ vgg19 参数 ::::::::: - - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值:False。 - - **batch_norm** (bool,可选) - 是否在每个卷积层后添加批归一化层。默认值:False。 + - **pretrained** (bool,可选) - 是否加载预训练权重。如果为 True,则返回在 ImageNet 上预训练的模型。默认值为 False。 + - **batch_norm** (bool,可选) - 是否在每个卷积层后添加批归一化层。默认值为 False。 - **\*\*kwargs** (可选) - 附加的关键字参数,具体可选参数请参见 :ref:`VGG `。 返回 diff --git a/docs/api/paddle/vision/models/wide_resnet101_2_cn.rst b/docs/api/paddle/vision/models/wide_resnet101_2_cn.rst index fbe45cc6c88..df087bd5d50 100644 --- a/docs/api/paddle/vision/models/wide_resnet101_2_cn.rst +++ b/docs/api/paddle/vision/models/wide_resnet101_2_cn.rst @@ -11,7 +11,7 @@ Wide ResNet-101-2 模型,来自论文 `"Wide Residual Networks" `。 返回 diff --git a/docs/api/paddle/vision/models/wide_resnet50_2_cn.rst b/docs/api/paddle/vision/models/wide_resnet50_2_cn.rst index c61b56face3..8d334e31d7f 100644 --- a/docs/api/paddle/vision/models/wide_resnet50_2_cn.rst +++ b/docs/api/paddle/vision/models/wide_resnet50_2_cn.rst @@ -11,7 +11,7 @@ Wide ResNet-50-2 模型,来自论文 `"Wide Residual Networks" `。 返回 From 2184cf7f5879c891272a3ec2081ea6e3553946aa Mon Sep 17 00:00:00 2001 From: Nyakku Shigure Date: Mon, 20 Jun 2022 08:57:44 +0000 Subject: [PATCH 15/16] refine returns --- docs/api/paddle/vision/models/AlexNet_cn.rst | 2 +- docs/api/paddle/vision/models/DenseNet_cn.rst | 2 +- docs/api/paddle/vision/models/GoogLeNet_cn.rst | 2 +- docs/api/paddle/vision/models/InceptionV3_cn.rst | 2 +- docs/api/paddle/vision/models/LeNet_cn.rst | 2 +- docs/api/paddle/vision/models/MobileNetV1_cn.rst | 2 +- docs/api/paddle/vision/models/MobileNetV2_cn.rst | 2 +- docs/api/paddle/vision/models/MobileNetV3Large_cn.rst | 2 +- docs/api/paddle/vision/models/MobileNetV3Small_cn.rst | 2 +- docs/api/paddle/vision/models/ResNet_cn.rst | 2 +- docs/api/paddle/vision/models/ShuffleNetV2_cn.rst | 2 +- docs/api/paddle/vision/models/SqueezeNet_cn.rst | 2 +- docs/api/paddle/vision/models/VGG_cn.rst | 2 +- docs/api/paddle/vision/models/alexnet_cn.rst | 2 +- docs/api/paddle/vision/models/densenet121_cn.rst | 2 +- docs/api/paddle/vision/models/densenet161_cn.rst | 2 +- docs/api/paddle/vision/models/densenet169_cn.rst | 2 +- docs/api/paddle/vision/models/densenet201_cn.rst | 2 +- docs/api/paddle/vision/models/densenet264_cn.rst | 2 +- docs/api/paddle/vision/models/googlenet_cn.rst | 2 +- docs/api/paddle/vision/models/inception_v3_cn.rst | 2 +- docs/api/paddle/vision/models/mobilenet_v1_cn.rst | 2 +- docs/api/paddle/vision/models/mobilenet_v2_cn.rst | 2 +- docs/api/paddle/vision/models/mobilenet_v3_large_cn.rst | 2 +- docs/api/paddle/vision/models/mobilenet_v3_small_cn.rst | 2 +- docs/api/paddle/vision/models/resnet101_cn.rst | 2 +- docs/api/paddle/vision/models/resnet152_cn.rst | 2 +- docs/api/paddle/vision/models/resnet18_cn.rst | 2 +- docs/api/paddle/vision/models/resnet34_cn.rst | 2 +- docs/api/paddle/vision/models/resnet50_cn.rst | 2 +- docs/api/paddle/vision/models/resnext101_32x4d_cn.rst | 2 +- docs/api/paddle/vision/models/resnext101_64x4d_cn.rst | 2 +- docs/api/paddle/vision/models/resnext152_32x4d_cn.rst | 2 +- docs/api/paddle/vision/models/resnext152_64x4d_cn.rst | 2 +- docs/api/paddle/vision/models/resnext50_32x4d_cn.rst | 2 +- docs/api/paddle/vision/models/resnext50_64x4d_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_swish_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x0_25_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x0_33_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x0_5_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x1_0_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x1_5_cn.rst | 2 +- docs/api/paddle/vision/models/shufflenet_v2_x2_0_cn.rst | 2 +- docs/api/paddle/vision/models/squeezenet1_0_cn.rst | 2 +- docs/api/paddle/vision/models/squeezenet1_1_cn.rst | 2 +- docs/api/paddle/vision/models/vgg11_cn.rst | 2 +- docs/api/paddle/vision/models/vgg13_cn.rst | 2 +- docs/api/paddle/vision/models/vgg16_cn.rst | 2 +- docs/api/paddle/vision/models/vgg19_cn.rst | 2 +- docs/api/paddle/vision/models/wide_resnet101_2_cn.rst | 2 +- docs/api/paddle/vision/models/wide_resnet50_2_cn.rst | 2 +- 51 files changed, 51 insertions(+), 51 deletions(-) diff --git a/docs/api/paddle/vision/models/AlexNet_cn.rst b/docs/api/paddle/vision/models/AlexNet_cn.rst index f62f9c96ccd..796bd871c77 100644 --- a/docs/api/paddle/vision/models/AlexNet_cn.rst +++ b/docs/api/paddle/vision/models/AlexNet_cn.rst @@ -16,7 +16,7 @@ AlexNet 模型,来自论文 `"ImageNet Classification with Deep Convolutional 返回 ::::::::: -AlexNet 模型,:ref:`cn_api_fluid_dygraph_Layer` 的实例。 +:ref:`cn_api_fluid_dygraph_Layer`,AlexNet 模型实例。 代码示例 ::::::::: diff --git a/docs/api/paddle/vision/models/DenseNet_cn.rst b/docs/api/paddle/vision/models/DenseNet_cn.rst index b2521b1a3a5..7a94143989e 100644 --- a/docs/api/paddle/vision/models/DenseNet_cn.rst +++ b/docs/api/paddle/vision/models/DenseNet_cn.rst @@ -20,7 +20,7 @@ DenseNet 模型,来自论文 `"Densely Connected Convolutional Networks" Date: Tue, 21 Jun 2022 14:10:46 +0000 Subject: [PATCH 16/16] :math:\`0.0\` --- docs/api/paddle/vision/models/DenseNet_cn.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/paddle/vision/models/DenseNet_cn.rst b/docs/api/paddle/vision/models/DenseNet_cn.rst index 7a94143989e..6728e951ca3 100644 --- a/docs/api/paddle/vision/models/DenseNet_cn.rst +++ b/docs/api/paddle/vision/models/DenseNet_cn.rst @@ -13,7 +13,7 @@ DenseNet 模型,来自论文 `"Densely Connected Convolutional Networks"