[ torch 参数更多 ]torchvision.models.inception.InceptionC
torchvision.models.inception.InceptionC
torchvision.models.inception.InceptionC(in_channels: int, channels_7x7: int, conv_block: Optional[Callable[..., nn.Module]] = None)
paddle.vision.models.inceptionv3.InceptionC
paddle.vision.models.inceptionv3.InceptionC(num_channels: int, channels_7x7: int)
torchvision 相比 Paddle 支持更多其他参数,具体如下:
参数映射
| torchvision | PaddlePaddle | 备注 |
|---|---|---|
| in_channels | num_channels | 输入通道数,仅参数名不一致。 |
| channels_7x7 | channels_7x7 | 7x7 卷积层的通道数。 |
| conv_block | - | 用于自定义卷积模块,Paddle 无此参数,默认使用 standard conv,可直接删除。 |