docstr: Computation pipeline based on a encoder + emotion classifier.
          
code: def compute_forward(self, batch, stage):
      """Computation pipeline based on a encoder + emotion classifier."""
      batch = batch.to(self.device)
      wavs, lens = batch.sig
  
      outputs = self.modules.wav2vec2(wavs, lens)
  
      # last dim will be used for AdaptativeAVG pool
      outputs = self.hparams.avg_pool(outputs, lens)
      outputs = outputs.view(outputs.shape[0], -1)
  
      outputs = self.modules.output_mlp(outputs)
      outputs = self.hparams.log_softmax(outputs)
      return outputs
  
file_path: speechbrain/recipes/IEMOCAP/emotion_recognition/train_with_wav2vec2.py
imports: import os
  import sys
  import speechbrain
  from hyperpyyaml import load_hyperpyyaml
label_desc: Use image node_id 1 for calling the EmoIdBrain obj's underlying member method code with example usage: obj.compute_forward(batch, stage) and returns: outputs