class_docstr: NASNetALarge (6 @ 4032) 
class_docstr_tok: ["NASNetALarge","(","6","@","4032",")"]
code: def reset_classifier(self, num_classes, global_pool="avg"):
      self.num_classes = num_classes
      self.global_pool, self.last_linear = 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.layers import ConvNormAct, create_conv2d, create_pool2d, create_classifier
  from ._builder import build_model_with_cfg
  from ._registry import register_model, generate_default_cfgs
label_desc: Use image node_id 5 for calling the NASNetALarge obj's underlying member method code with example usage: obj.reset_classifier(num_classes, global_pool) without return types