(pretrained=False, **kwargs)
return model
Constructs a ResNet-18 model.
    Args:
        pretrained (bool): If True, returns a model pre-trained on ImageNet
Constructs a ResNet-18 model.
    Args:
        pretrained (bool): If True, returns a model pre-trained on ImageNet
Constructs a ResNet - 18 model . Args : pretrained ( bool ) : If True returns a model pre - trained on ImageNet
def old_resnet18(pretrained=False, **kwargs):
    """Constructs a ResNet-18 model.
    Args:
        pretrained (bool): If True, returns a model pre-trained on ImageNet
    """
    model = ResNet(BasicBlock, [2, 2, 2, 2], **kwargs)
    return model
def old_resnet18 ( pretrained = False , * * kwargs ) : model = ResNet ( BasicBlock , [ 2 , 2 , 2 , 2 ] , * * kwargs ) return model