code: def test_print_model_summary(csv_filename):
      output_dir = None
      model, output_dir = _train(*_prepare_data(csv_filename))
      model_path = os.path.join(output_dir, "model")
      print_model_summary(model_path)
  
file_path: ludwig/tests/integration_tests/test_collect.py
imports: import os
  import shutil
  import numpy
  import torch
  from ludwig.api import LudwigModel
  from ludwig.collect import collect_activations, collect_weights, print_model_summary
  from ludwig.constants import BATCH_SIZE, ENCODER, TRAINER, TYPE
  from ludwig.utils.torch_utils import get_torch_device
  from tests.integration_tests.utils import category_feature, ENCODERS, generate_data, sequence_feature
label_desc: Use image node_id 7 for calling a global function with example usage: test_print_model_summary(csv_filename) without return types