class_docstr: Args:
class_docstr_tok: ["Args",":"]
code: def forward(self, x):
      x = self.temporal_pool(x, n_segment=self.n_segment)
      return self.net(x)
  
file_path: towhee/towhee/models/tsm/temporal_shift.py
imports: import torch
  from torch import nn
  import torch.nn.functional
  import torchvision
label_desc: Use image node_id 2 for calling the TemporalPool obj's underlying member method code with example usage: obj.forward(x) and returns: self