docstr: Remembers samples of spectrograms and the batch for logging purposes
  
  Arguments
  ---------
  batch: tuple
      a training batch
  predictions: tuple
      predictions (raw output of the Tacotron model)
docstr_tok: ["Remembers","samples","of","spectrograms","and","the","batch","for","logging","purposes","Arguments","--","--","--","--","-","batch",":","tuple","a","training","batch","predictions",":","tuple","predictions","(","raw","output","of","the","Tacotron","model",")"]
code: def _remember_sample(self, batch, predictions):
      """Remembers samples of spectrograms and the batch for logging purposes
  
      Arguments
      ---------
      batch: tuple
          a training batch
      predictions: tuple
          predictions (raw output of the Tacotron model)
      """
      mel, sig = batch
      (
          y_hat,
          scores_fake,
          feats_fake,
          scores_real,
          feats_real,
      ) = predictions
  
imports: import sys
  import torch
  import copy
  from hyperpyyaml import load_hyperpyyaml
  import speechbrain
  from speechbrain.utils.data_utils import scalarize
  import torchaudio
  import os
label_desc: Use image node_id 8 for calling the HifiGanBrain obj's underlying member method code with example usage: obj._remember_sample(batch, predictions) without return types