class_docstr: Args:
class_docstr_tok: ["Args",":"]
code: def __init__(self, net, n_segment=3, n_div=8, inplace=False):
      super().__init__()
      self.net = net
      self.n_segment = n_segment
      self.fold_div = n_div
      self.inplace = inplace
  
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 1 to create a new TemporalShift object from inherited base classes: nn with example: obj = TemporalShift(net, n_segment, n_div, inplace)