AlexNet

class paddle.vision.models. AlexNet ( num_classes=1000 ) [source]

AlexNet model from “ImageNet Classification with Deep Convolutional Neural Networks”

Parameters

num_classes (int) – Output dim of last fc layer. Default: 1000.

Examples

from paddle.vision.models import AlexNet

alexnet = AlexNet()
forward ( inputs )

forward

Defines the computation performed at every call. Should be overridden by all subclasses.

Parameters
  • *inputs (tuple) – unpacked tuple arguments

  • **kwargs (dict) – unpacked dict arguments