File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
docs/api/paddle/vision/models Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ MobileNetV1
55
66.. py :class :: paddle.vision.models.MobileNetV1(scale = 1.0 , num_classes = 1000 , with_pool = True )
77
8+
9+
810 MobileNetV1模型,来自论文 `"MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications" <https://arxiv.org/abs/1704.04861 >`_ 。
911
1012参数
@@ -19,14 +21,16 @@ mobilenetv1模型,Layer的实例。
1921
2022代码示例
2123:::::::::
22- .. code-block :: python
24+ COPY-FROM: paddle.vision.models.MobileNetV1: code-example1
2325
24- import paddle
25- from paddle.vision.models import MobileNetV1
26+ 方法
27+ ::::::::::::
28+ forward(x)
29+ '''''''''
2630
27- model = MobileNetV1()
31+ 定义计算过程。应当被所有子类重写。
2832
29- x = paddle.rand([1 , 3 , 224 , 224 ])
30- out = model(x)
33+ **参数 **
3134
32- print (out.shape)
35+ - ***inputs ** (tuple) - 元组参数。
36+ - ****kwargs ** (dict) - 字典参数。
You can’t perform that action at this time.
0 commit comments