docstr: forward.
  :param x: torch.Tensor, input tensor with input size (B, C, T, H, W).
docstr_tok: ["forward",".",":","param","x",":","torch.Tensor",",","input","tensor","with","input","size","(","B",",","C",",","T",",","H",",","W",")","."]
code: def forward(self, x):
      """forward.
      :param x: torch.Tensor, input tensor with input size (B, C, T, H, W).
      """
      x = self.layer1(x)
      x = self.layer2(x)
      x = self.layer3(x)
      x = self.layer4(x)
      x = self.avgpool(x)
      x = x.view(x.size(0), -1)
      return x
  
file_path: audio/examples/avsr/models/resnet.py
imports: import torch.nn
label_desc: Use image node_id 3 for calling the ResNet obj's underlying member method code with example usage: obj.forward(x) and returns: x