class_docstr: This class implements a model-specific automatic speech recognizer using the end-to-end speech recognizer
  DeepSpeech and PyTorch. It supports both version 2 and version 3 of DeepSpeech models as released at
  https://github.com/SeanNaren/deepspeech.pytorch.
  
  | Paper link: https://arxiv.org/abs/1512.02595
docstr: Get the sampling rate.
  
  :return: The audio sampling rate.
docstr_tok: ["Get","the","sampling","rate",".",":","return",":","The","audio","sampling","rate","."]
code: def sample_rate(self) -> int:
      """
      Get the sampling rate.
  
      :return: The audio sampling rate.
      """
      if self._version == 2:
          sample_rate = self.model.audio_conf.sample_rate
      else:
          sample_rate = self.model.spect_cfg["sample_rate"]
  
      return sample_rate
  
imports: import logging
  from typing import TYPE_CHECKING, List, Optional, Tuple, Union
  from pkg_resources import packaging
  import numpy
  from art import config
  from art.estimators.pytorch import PyTorchEstimator
  from art.estimators.speech_recognition.speech_recognizer import SpeechRecognizerMixin, PytorchSpeechRecognizerMixin
  from art.utils import get_file
label_desc: Use image node_id 9 for calling the PyTorchDeepSpeech obj's underlying member method code with example usage: obj.sample_rate() and returns: sample_rate