code: def scale_to_db(scale: torch.Tensor, min_volume: float = -120):
      min_scale = db_to_scale(min_volume)
      return 20 * torch.log10(scale.clamp(min=min_scale))
  
file_path: audiocraft/audiocraft/metrics/rvm.py
imports: import typing
  import torch
  from torch import nn
  import torchaudio
label_desc: Use image node_id 2 for calling a global function with example usage: scale_to_db(scale, min_volume) and returns: unknown