code: def check_forward_output(self, output: Any):
      assert isinstance(output, Tensor)
      assert output.shape == torch.Size([1, 95, 12])
  
file_path: lightning-flash/tests/audio/speech_recognition/test_model.py
imports: from typing import Any
  from unittest.mock import patch
  import numpy
  import pytest
  import torch
  from flash.audio import SpeechRecognition
  from flash.core.data.io.input import DataKeys
  from flash.core.utilities.imports import _TOPIC_AUDIO_AVAILABLE, _TOPIC_SERVE_AVAILABLE
  from torch import Tensor
  from tests.helpers.task_tester import TaskTester
label_desc: Use image node_id 2 for calling the TestSpeechRecognition obj's underlying member method code with example usage: obj.check_forward_output(output) without return types