class_docstr: Inception-v1 I3D architecture.
  The model is introduced in:
      Quo Vadis, Action Recognition? A New Model and the Kinetics Dataset
      Joao Carreira, Andrew Zisserman
      https://arxiv.org/pdf/1705.07750v1.pdf.
  See also the Inception architecture, introduced in:
      Going deeper with convolutions
      Christian Szegedy, Wei Liu, Yangqing Jia, Pierre Sermanet, Scott Reed,
      Dragomir Anguelov, Dumitru Erhan, Vincent Vanhoucke, Andrew Rabinovich.
      http://arxiv.org/pdf/1409.4842v1.pdf.
class_docstr_tok: ["Inception-v1","I3D","architecture",".","The","model","is","introduced","in",":","Quo","Vadis",",","Action","Recognition","?","A","New","Model","and","the","Kinetics","Dataset","Joao","Carreira",",","Andrew","Zisserman","https",":","\/\/arxiv.org\/pdf\/1705.07750v1.pdf",".","See","also","the","Inception","architecture",",","introduced","in",":","Going","deeper","with","convolutions","Christian","Szegedy",",","Wei","Liu",",","Yangqing","Jia",",","Pierre","Sermanet",",","Scott","Reed",",","Dragomir","Anguelov",",","Dumitru","Erhan",",","Vincent","Vanhoucke",",","Andrew","Rabinovich",".","http",":","\/\/arxiv.org\/pdf\/1409.4842v1.pdf","."]
docstr: Update the output size with num_classes according to the specific setting.
docstr_tok: ["Update","the","output","size","with","num_classes","according","to","the","specific","setting","."]
code: def replace_logits(self, num_classes):
      """Update the output size with num_classes according to the specific setting."""
  
      self._num_classes = num_classes
      self.logits = Unit3D(
          in_channels=384 + 384 + 128 + 128,
          output_channels=self._num_classes,
          kernel_shape=[1, 1, 1],
          padding=0,
          activation_fn=None,
          use_batch_norm=False,
          use_bias=True,
          name="logits",
      )
  
imports: import torch
  import torch.nn
  import torch.nn.functional
  from torch.hub import load_state_dict_from_url
label_desc: Use image node_id 2 for calling the InceptionI3d obj's underlying member method code with example usage: obj.replace_logits(num_classes) without return types