code: def _hz_to_octs(freqs, tuning=0.0, bins_per_octave=12):
      a440 = 440.0 * 2.0 ** (tuning / bins_per_octave)
      return torch.log2(freqs / (a440 / 16))
  
file_path: audio/src/torchaudio/prototype/functional/functional.py
imports: import math
  import warnings
  from typing import Optional
  import torch
  from torchaudio.functional.functional import _create_triangular_filterbank
label_desc: Use image node_id 3 for calling a global function with example usage: _hz_to_octs(freqs, tuning, bins_per_octave) and returns: torch