code: def test_verbose_param(tmpdir, capsys):
      """Test that output is present when verbose parameter is set."""
      model = BoringModel()
      model.example_input_array = torch.randn(5, 32)
      file_path = os.path.join(tmpdir, "model.onnx")
  
      with patch("torch.onnx.log", autospec=True) as test:
          model.to_onnx(file_path, verbose=True)
      args, _ = test.call_args
      prefix, _ = args
      assert prefix == "Exported graph: "
  
file_path: pytorch-lightning/tests/tests_pytorch/models/test_onnx.py
imports: import operator
  import os
  from unittest.mock import patch
  import numpy
  import onnxruntime
  import pytest
  import torch
  from lightning.pytorch import Trainer
  from lightning.pytorch.demos.boring_classes import BoringModel
  from lightning_utilities import compare_version
  import tests_pytorch.helpers.pipelines
  from tests_pytorch.helpers.runif import RunIf
  from tests_pytorch.utilities.test_model_summary import UnorderedModel
label_desc: Use image node_id 5 for calling a global function with example usage: test_verbose_param(tmpdir, capsys) without return types