parameters: (pretrained=False, **kwargs)
return_statement: return model
docstring: Constructs a ResNet-50 model.
  
      Args:
          pretrained (bool): If True, returns a model pre-trained on Places
docstring_summary: Constructs a ResNet-50 model.
docstring_tokens: Constructs a ResNet - 50 model .
function: def resnet50(pretrained=False, **kwargs):
      """Constructs a ResNet-50 model.
  
      Args:
          pretrained (bool): If True, returns a model pre-trained on Places
      """
      model = ResNet(Bottleneck, [3, 4, 6, 3], **kwargs)
      if pretrained:
          model.load_state_dict(load_url(model_urls['resnet50']), strict=False)
      return model
function_tokens: def resnet50 ( pretrained = False , * * kwargs ) : model = ResNet ( Bottleneck , [ 3 , 4 , 6 , 3 ] , * * kwargs ) if pretrained : model . load_state_dict ( load_url ( model_urls [ 'resnet50' ] ) , strict = False ) return model