code: def compute_module_name(test_params_dict):
      fullname = test_params_dict.get("fullname", None)
      if fullname:
          module_name = fullname.split("_")[0]
      else:
          module_name = test_params_dict.get("module_name")
      return module_name
  
file_path: pytorch/test/cpp_api_parity/module_impl_check.py
imports: import tempfile
  from string import Template
  import types
  import pprint
  import os
  import torch
  from cpp_api_parity.utils import TorchNNModuleTestParams, TORCH_NN_COMMON_TEST_HARNESS, compile_cpp_code_inline, set_python_tensors_requires_grad, move_python_tensors_to_device, add_test, compute_cpp_args_construction_stmts_and_forward_arg_symbols, serialize_arg_dict_as_script_module, compute_arg_dict, decorate_test_fn, compute_temp_file_path, generate_error_msg, is_torch_nn_functional_test, try_remove_folder
  from cpp_api_parity.sample_module import SAMPLE_MODULE_CPP_SOURCE
label_desc: Use image node_id 3 for calling a global function with example usage: compute_module_name(test_params_dict) and returns: module_name