code: def test_print_summary_for_keras_model() -> None:
      # Note: best to use `grid` formatting for `tf.keras.Model` printing
      # because of the duplicates in the references to the variables.
      assert (
          tabulate_module_summary(C(), tablefmt="grid")
          == example_tf_keras_model
      )
  
imports: from typing import Any, Callable, Mapping, Optional, Type
  import numpy
  import pytest
  import tensorflow
  from _pytest.fixtures import SubRequest
  from packaging.version import Version
  import gpflow
  from gpflow.base import AnyNDArray
  from gpflow.config import Config, as_context
  from gpflow.utilities import set_trainable
  from gpflow.utilities.traversal import _merge_leaf_components, leaf_components, tabulate_module_summary
label_desc: Use image node_id 13 for calling a global function with example usage: test_print_summary_for_keras_model() without return types