code: def model_stats(model, input_shape):
      ms = ModelStats(model, input_shape)
      return model_stats2df(ms)
  
file_path: tensorwatch/tensorwatch/model_graph/torchstat_utils.py
imports: from .torchstat import analyzer
  import pandas
  import copy
label_desc: Use image node_id 1 for calling a global function with example usage: model_stats(model, input_shape) and returns: model_stats2df