code: def _get_log_freq(sample_rate, max_sweep_rate, offset):
      """Get freqs evenly spaced out in log-scale, between [0, max_sweep_rate // 2]
  
      offset is used to avoid negative infinity `log(offset + x)`.
  
      """
      start, stop = math.log(offset), math.log(
          offset + max_sweep_rate // 2
      )
      return (
          torch.exp(
              torch.linspace(
                  start, stop, sample_rate, dtype=torch.double
              )
          )
          - offset
      )
  
imports: import torch
  import torchaudio
  import torchaudio.functional
  import torchaudio.transforms
  import math
  import timeit
  import librosa
  import matplotlib.colors
  import matplotlib.pyplot
  import pandas
  import resampy
  from IPython.display import Audio
label_desc: Use image node_id 1 for calling a global function with example usage: _get_log_freq(sample_rate, max_sweep_rate, offset) and returns: unknown