docstr: Convert from true snr range to 0-1 range
docstr_tok: ["Convert","from","true","snr","range","to","0-1","range"]
code: def compress_snrrange(self, inp):
      """Convert from true snr range to 0-1 range"""
      rnge = self.hparams.snrmax - self.hparams.snrmin
  
      inp = torch.clip(
          inp, min=self.hparams.snrmin, max=self.hparams.snrmax
      )
      inp = inp - self.hparams.snrmin
      inp = inp / rnge
      return inp
  
imports: import os
  import sys
  import torch
  import speechbrain
  import speechbrain.nnet.schedulers
  from speechbrain.utils.distributed import run_on_main
  from hyperpyyaml import load_hyperpyyaml
  import itertools
  from tqdm import tqdm
  import numpy
  import logging
  import csv
  from speechbrain.core import AMPConfig
label_desc: Use image node_id 1 for calling the Separation obj's underlying member method code with example usage: obj.compress_snrrange(inp) and returns: inp