MobileNetV3Large

class paddle.vision.models. MobileNetV3Large ( scale=1.0, num_classes=1000, with_pool=True ) [source]

MobileNetV3 Large architecture model from “Searching for MobileNetV3”.

Parameters
  • scale (float, optional) – Scale of channels in each layer. Default: 1.0.

  • num_classes (int, optional) – Output dim of last fc layer. If num_classes <=0, last fc layer will not be defined. Default: 1000.

  • with_pool (bool, optional) – Use pool before the last fc layer or not. Default: True.

Examples

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)