class_docstr: Decorator to patch torch.stft in PaSST.
class_docstr_tok: ["Decorator","to","patch","torch.stft","in","PaSST","."]
code: def __init__(self):
      self.old_stft = torch.stft
  
imports: import contextlib
  from functools import partial
  import logging
  import os
  import typing
  import torch
  import torchmetrics
  from ..data.audio_utils import convert_audio
label_desc: Use image node_id 1 to create a new _patch_passt_stft object  with example: obj = _patch_passt_stft()