parameters: (pretrained=False, **kwargs)
return_statement: return model
docstring: Constructs a ResNet-34 models.
  
      Args:
          pretrained (bool): If True, returns a models pre-trained on ImageNet
docstring_summary: Constructs a ResNet-34 models.
docstring_tokens: Constructs a ResNet - 34 models .
function: def resnet34(pretrained=False, **kwargs):
      """Constructs a ResNet-34 models.
  
      Args:
          pretrained (bool): If True, returns a models pre-trained on ImageNet
      """
      model = ResNet(BasicBlock, [3, 4, 6, 3], **kwargs)
      if pretrained:
          model._load_pretrained_model(model_urls['resnet34'])
      return model
function_tokens: def resnet34 ( pretrained = False , * * kwargs ) : model = ResNet ( BasicBlock , [ 3 , 4 , 6 , 3 ] , * * kwargs ) if pretrained : model . _load_pretrained_model ( model_urls [ 'resnet34' ] ) return model