code: def generate_error_msg(name, cpp_value, python_value):
      return (
          "Parity test failed: {} in C++ has value: {}, "
          "which does not match the corresponding value in Python: {}.\n{}"
      ).format(
          name,
          cpp_value,
          python_value,
          MESSAGE_HOW_TO_FIX_CPP_PARITY_TEST_FAILURE,
      )
  
imports: from collections import namedtuple
  import unittest
  import os
  import warnings
  import shutil
  import torch
  import torch.utils.cpp_extension
  import torch.testing._internal.common_nn
  from torch.testing._internal.common_cuda import TEST_CUDA
label_desc: Use image node_id 16 for calling a global function with example usage: generate_error_msg(name, cpp_value, python_value) and returns: str