code: def forward(self, input):
      output = input.matmul(
          self.weights.permute(
              *[i for i in range(len(self.weights.shape) - 2)], -1, -2
          )
      )
      output += self.biases
      return output
  
imports: import functools
  import torch
  import torch.nn
  from .None import pytorch_prototyping
label_desc: Use image node_id 3 for calling the BatchLinear obj's underlying member method code with example usage: obj.forward(input) and returns: output