class_docstr: Test class for `ShortTimeObjectiveIntelligibility` metric.
docstr: Test dtype support of the metric on GPU.
docstr_tok: ["Test","dtype","support","of","the","metric","on","GPU","."]
code: def test_stoi_half_gpu(self, preds, target, ref_metric, fs, extended):
      """Test dtype support of the metric on GPU."""
      self.run_precision_test_gpu(
          preds=preds,
          target=target,
          metric_module=ShortTimeObjectiveIntelligibility,
          metric_functional=partial(
              short_time_objective_intelligibility,
              fs=fs,
              extended=extended,
          ),
          metric_args={"fs": fs, "extended": extended},
      )
  
imports: from functools import partial
  import pytest
  import torch
  from pystoi import stoi
  from scipy.io import wavfile
  from torch import Tensor
  from torchmetrics.audio import ShortTimeObjectiveIntelligibility
  from torchmetrics.functional.audio import short_time_objective_intelligibility
  from unittests import _Input
  from unittests.audio import _SAMPLE_AUDIO_SPEECH, _SAMPLE_AUDIO_SPEECH_BAB_DB
  from unittests.helpers import seed_all
  from unittests.helpers.testers import MetricTester
label_desc: Use image node_id 5 for calling the TestSTOI obj's underlying member method code with example usage: obj.test_stoi_half_gpu(preds, target, ref_metric, fs, extended) without return types