code: def test_double_precision_pad(self):
      import torch
  
      feature_extractor = self.feature_extraction_class(
          **self.feat_extract_tester.prepare_feat_extract_dict()
      )
      np_speech_inputs = np.random.rand(100, 32).astype(np.float64)
      py_speech_inputs = np_speech_inputs.tolist()
  
      for inputs in [py_speech_inputs, np_speech_inputs]:
          np_processed = feature_extractor.pad(
              [{"input_features": inputs}], return_tensors="np"
          )
          self.assertTrue(
              np_processed.input_features.dtype == np.float32
          )
          pt_processed = feature_extractor.pad(
              [{"input_features": inputs}], return_tensors="pt"
          )
          self.assertTrue(
              pt_processed.input_features.dtype == torch.float32
          )
  
imports: import itertools
  import random
  import unittest
  import numpy
  from transformers import is_speech_available
  from transformers.testing_utils import require_torch, require_torchaudio
  from ...test_sequence_feature_extraction_common import SequenceFeatureExtractionTestMixin
label_desc: Use image node_id 8 for calling the Speech2TextFeatureExtractionTest obj's underlying member method code with example usage: obj.test_double_precision_pad() without return types