code: def test_summary():
      old_profile_optimizer_config_value = (
          pytensor.config.profile_optimizer
      ) = True
      f = pytensor.function(inputs=[], outputs=[], profile=True)
      f.profile.summary()
      pytensor.config.profile_optimizer = (
          old_profile_optimizer_config_value
      )
  
imports: import logging
  from io import StringIO
  from textwrap import dedent
  import numpy
  import pytest
  import pytensor
  from pytensor.compile.mode import get_mode
  from pytensor.compile.ops import deep_copy_op
  from pytensor.printing import PatternPrinter, PPrinter, Print, debugprint, default_printer, get_node_by_id, min_informative_str, pp, pydot_imported, pydotprint
  from pytensor.tensor import as_tensor_variable
  from pytensor.tensor.type import dmatrix, dvector, matrix
  from tests.graph.utils import MyInnerGraphOp, MyOp, MyVariable
label_desc: Use image node_id 13 for calling a global function with example usage: test_summary() without return types