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

torchvision.models.inception.InceptionB

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

paddle.vision.models.inceptionv3.InceptionB

paddle.vision.models.inceptionv3.InceptionB(num_channels: int)

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

参数映射

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