docstr: Forward computations from waveform to output probabilities.
docstr_tok: ["Forward","computations","from","waveform","to","output","probabilities","."]
code: def compute_forward(self, batch, stage):
      """Forward computations from waveform to output probabilities."""
  
      # Get data.
      batch = batch.to(self.device)
      wavs, wav_lens = batch.sig
  
      # Forward pass.
      feats = self.modules.wav2vec2(wavs, wav_lens)
  
      x = self.modules.enc(feats)
  
      # Output layer for seq2seq log-probabilities.
      logits = self.modules.output_lin(x)
      p_ctc = self.hparams.log_softmax(logits)
  
      return p_ctc, wav_lens
  
file_path: speechbrain/recipes/MEDIA/ASR/CTC/train_hf_wav2vec.py
imports: import sys
  import torch
  import logging
  import speechbrain
  from hyperpyyaml import load_hyperpyyaml
  from speechbrain.dataio.batch import PaddedBatch
  from speechbrain.utils.distributed import run_on_main
  from media_prepare import prepare_media
label_desc: Use image node_id 1 for calling the ASR obj's underlying member method code with example usage: obj.compute_forward(batch, stage) and returns: p_ctc,  wav_lens