丰都三元镇两万亩柚子花绽放 “柚”惑游客/图

class paddle.vision.models. MobileNetV3Small ( scale: float = 1.0, num_classes: int = 1000, with_pool: bool = True ) [source]
百度 聪明资金逆市吸筹近11亿资金北上布局10股2018-03-2308:08来源:证券日报凭借着精准的买卖点选择以及独到的选股能力,一直以来北上资金的动向均受到市场的广泛关注,而其屡屡出现的高抛低吸操作更是场内津津乐道的话题。

MobileNetV3 Small 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.

Returns

Layer. An instance of MobileNetV3 Small architecture model.

Examples

>>> 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)
[1, 1000]