(pretrained=False, **kwargs)
return Inception3(**kwargs)
r"""Inception v3 model architecture from
    `"Rethinking the Inception Architecture for Computer Vision" <http://arxiv.org/abs/1512.00567>`_.
    Args:
        pretrained (bool): If True, returns a model pre-trained on ImageNet
r"""Inception v3 model architecture from
    `"Rethinking the Inception Architecture for Computer Vision" <http://arxiv.org/abs/1512.00567>`_.
    Args:
        pretrained (bool): If True, returns a model pre-trained on ImageNet
r Inception v3 model architecture from Rethinking the Inception Architecture for Computer Vision <http : // arxiv . org / abs / 1512 . 00567 > _ . Args : pretrained ( bool ) : If True returns a model pre - trained on ImageNet
def inception_v3(pretrained=False, **kwargs):
    r"""Inception v3 model architecture from
    `"Rethinking the Inception Architecture for Computer Vision" <http://arxiv.org/abs/1512.00567>`_.
    Args:
        pretrained (bool): If True, returns a model pre-trained on ImageNet
    """
    if pretrained:
        if 'transform_input' not in kwargs:
            kwargs['transform_input'] = True
        model = Inception3(**kwargs)
        model.load_state_dict(model_zoo.load_url(model_urls['inception_v3_google']))
        return model

    return Inception3(**kwargs)
def inception_v3 ( pretrained = False , * * kwargs ) : if pretrained : if 'transform_input' not in kwargs : kwargs [ 'transform_input' ] = True model = Inception3 ( * * kwargs ) model . load_state_dict ( model_zoo . load_url ( model_urls [ 'inception_v3_google' ] ) ) return model return Inception3 ( * * kwargs )