code: def test_change_custom_name(self):
      _replace_custom_layer_name(self.spec, "name1", "notname1")
      names = _get_custom_layer_names(self.spec)
      self.assertEqual(names, {"notname1", "name2"})
      # set it back for future tests
      _replace_custom_layer_name(self.spec, "notname1", "name1")
  
file_path: coremltools/coremltools/test/neural_network/test_neural_networks.py
imports: import unittest
  import coremltools
  from coremltools.models.utils import _get_custom_layer_names, _replace_custom_layer_name
  from coremltools.proto import Model_pb2
label_desc: Use image node_id 3 for calling the CustomLayerUtilsTest obj's underlying member method code with example usage: obj.test_change_custom_name() without return types