r"""ResNet-34 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)
| 278 | |
| 279 | |
| 280 | def resnet34(pretrained: bool = False, progress: bool = True, **kwargs: Any) -> ResNet: |
| 281 | r"""ResNet-34 model from |
| 282 | `"Deep Residual Learning for Image Recognition" <https://arxiv.org/pdf/1512.03385.pdf>`_. |
| 283 | |
| 284 | Args: |
| 285 | pretrained (bool): If True, returns a model pre-trained on ImageNet |
| 286 | progress (bool): If True, displays a progress bar of the download to stderr |
| 287 | """ |
| 288 | return _resnet('resnet34', BasicBlock, [3, 4, 6, 3], pretrained, progress, |
| 289 | **kwargs) |
| 290 | |
| 291 | |
| 292 | def resnet50(pretrained: bool = False, progress: bool = True, **kwargs: Any) -> ResNet: |