code: def plot_sinc_ir(irs, cutoff):
      num_filts, window_size = irs.shape
      half = window_size // 2
  
      fig, axes = plt.subplots(
          num_filts, 1, sharex=True, figsize=(9.6, 8)
      )
      t = torch.linspace(-half, half - 1, window_size)
      for ax, ir, coff, color in zip(
          axes, irs, cutoff, plt.cm.tab10.colors
      ):
          ax.plot(
              t,
              ir,
              linewidth=1.2,
              color=color,
              zorder=4,
              label=f"Cutoff: {coff}",
          )
          ax.legend(loc=(1.05, 0.2), handletextpad=0, handlelength=0)
          ax.grid(True)
      fig.suptitle(
          "Impulse response of sinc low-pass filter for different cut-off frequencies\n"
          "(Frequencies are relative to Nyquist frequency)"
      )
      axes[-1].set_xticks([i * half // 4 for i in range(-4, 5)])
      fig.tight_layout()
  
imports: import torch
  import torchaudio
  import matplotlib.pyplot
  from torchaudio.prototype.functional import frequency_impulse_response, sinc_impulse_response
label_desc: Use image node_id 1 for calling a global function with example usage: plot_sinc_ir(irs, cutoff) without return types