class_docstr: Inception-V3
      
class_docstr_tok: ["Inception-V3"]
code: def reset_classifier(self, num_classes, global_pool="avg"):
      self.num_classes = num_classes
      self.global_pool, self.fc = create_classifier(
          self.num_features, self.num_classes, pool_type=global_pool
      )
  
imports: from functools import partial
  import torch
  import torch.nn
  import torch.nn.functional
  from timm.data import IMAGENET_DEFAULT_STD, IMAGENET_DEFAULT_MEAN, IMAGENET_INCEPTION_MEAN, IMAGENET_INCEPTION_STD
  from timm.layers import trunc_normal_, create_classifier, Linear, ConvNormAct
  from ._builder import build_model_with_cfg
  from ._builder import resolve_pretrained_cfg
  from ._manipulate import flatten_modules
  from ._registry import register_model, generate_default_cfgs, register_model_deprecations
label_desc: Use image node_id 5 for calling the InceptionV3 obj's underlying member method code with example usage: obj.reset_classifier(num_classes, global_pool) without return types