[ torch 参数更多 ]torchvision.models.inception.InceptionA

torchvision.models.inception.InceptionA

torchvision.models.inception.InceptionA(in_channels: int, pool_features: int, conv_block: Optional[Callable[..., nn.Module]] = None)

paddle.vision.models.inceptionv3.InceptionA

paddle.vision.models.inceptionv3.InceptionA(num_channels: int, pool_features: int)

torchvision 相比 Paddle 支持更多其他参数,具体如下:

参数映射

torchvision PaddlePaddle 备注
in_channels num_channels 输入通道数,仅参数名不一致。
pool_features pool_features 混合层中池化层后的卷积输出通道数。
conv_block - 用于自定义卷积模块,Paddle 无此参数,默认使用 standard conv,可直接删除。