docstr: Gets called when a stage (either training, validation, test) starts.
docstr_tok: ["Gets","called","when","a","stage","(","either","training",",","validation",",","test",")","starts","."]
code: def on_stage_start(self, stage, epoch=None):
      "Gets called when a stage (either training, validation, test) starts."
      if stage == sb.Stage.TRAIN:
          self.ids_list = []
  
file_path: speechbrain/tests/integration/sampling/example_sorting.py
imports: import os
  import torch
  import pickle
  import pathlib
  import itertools
  import speechbrain
  import torch.multiprocessing
  from hyperpyyaml import load_hyperpyyaml
label_desc: Use image node_id 3 for calling the SamplingBrain obj's underlying member method code with example usage: obj.on_stage_start(stage, epoch) without return types