code: def test_summary_data_output(example_input):
      """Ensure all items are converted to strings when getting summary data."""
  
      class TestModel(BoringModel):
          @property
          def example_input_array(self) -> Any:
              return example_input
  
      summary = summarize(TestModel())
      summary_data = summary._get_summary_data()
      for column_name, entries in summary_data:
          assert all(isinstance(entry, str) for entry in entries)
  
imports: from collections import OrderedDict
  from typing import Any
  import pytest
  import torch
  import torch.nn
  from lightning.fabric.utilities.imports import _TORCH_GREATER_EQUAL_2_0
  from lightning.pytorch import LightningModule, Trainer
  from lightning.pytorch.demos.boring_classes import BoringModel
  from lightning.pytorch.utilities.model_summary.model_summary import LEFTOVER_PARAMS_NAME, NOT_APPLICABLE, UNKNOWN_SIZE, ModelSummary, summarize
  from tests_pytorch.helpers.advanced_models import ParityModuleRNN
  from tests_pytorch.helpers.runif import RunIf
label_desc: Use image node_id 17 for calling a global function with example usage: test_summary_data_output(example_input) and returns: example_input