r"""ResNet-101 model from `"Deep Residual Learning for Image Recognition" `_. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet progress (bool): If True, displays a progress bar of the download to stderr
(pretrained: bool = False, progress: bool = True, **kwargs: Any)
| 302 | |
| 303 | |
| 304 | def resnet101(pretrained: bool = False, progress: bool = True, **kwargs: Any) -> ResNet: |
| 305 | r"""ResNet-101 model from |
| 306 | `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_. |
| 307 | |
| 308 | Args: |
| 309 | pretrained (bool): If True, returns a model pre-trained on ImageNet |
| 310 | progress (bool): If True, displays a progress bar of the download to stderr |
| 311 | """ |
| 312 | return _resnet('resnet101', Bottleneck, [3, 4, 23, 3], pretrained, progress, |
| 313 | **kwargs) |
| 314 | |
| 315 | |
| 316 | def resnet152(pretrained: bool = False, progress: bool = True, **kwargs: Any) -> ResNet: |