code: def print_mcore_parameter_names(restore_from_path):
      mcore_model = get_mcore_model_from_nemo_file(restore_from_path)
  
      print("*********")
      print(
          "\n".join(
              sorted(
                  [
                      k + "###" + str(v.shape)
                      for k, v in mcore_model.named_parameters()
                  ]
              )
          )
      )
      print("*********")
  
file_path: NeMo/scripts/nlp_language_modeling/convert_nemo_gpt_to_mcore.py
imports: import os
  from argparse import ArgumentParser
  from collections import OrderedDict
  import torch
  from omegaconf import OmegaConf, open_dict
  from pytorch_lightning.trainer.trainer import Trainer
  from nemo.collections.nlp.models.language_modeling.megatron_gpt_model import MegatronGPTModel
  from nemo.collections.nlp.parts.nlp_overrides import NLPDDPStrategy
  from nemo.utils import AppState, logging
label_desc: Use image node_id 3 for calling a global function with example usage: print_mcore_parameter_names(restore_from_path) without return types