code: def testEqualityLayerNode(self):
      conv_layer = {
          "name": "conv2d",
          "class_name": "Conv2D",
          "config": {
              "name": "conv2d",
          },
      }
      dense_layer = {
          "name": "dense",
          "class_name": "Dense",
          "config": {
              "name": "dense",
          },
      }
  
      self.assertNotEqual(LayerNode(conv_layer), LayerNode(dense_layer))
  
      self.assertEqual(LayerNode(conv_layer), LayerNode(conv_layer))
      self.assertEqual(
          LayerNode(conv_layer), LayerNode(copy.deepcopy(conv_layer))
      )
  
      self.assertNotEqual(
          LayerNode(
              conv_layer,
              input_layers=[
                  LayerNode(conv_layer),
                  LayerNode(dense_layer),
              ],
          ),
          LayerNode(
              conv_layer,
              input_layers=[
                  LayerNode(conv_layer),
                  LayerNode(conv_layer),
              ],
          ),
      )
  
      self.assertEqual(
          LayerNode(
              conv_layer,
              input_layers=[
                  LayerNode(conv_layer),
                  LayerNode(dense_layer),
              ],
          ),
          LayerNode(
              conv_layer,
              input_layers=[
                  LayerNode(conv_layer),
                  LayerNode(dense_layer),
              ],
          ),
      )
  
file_path: model-optimization/tensorflow_model_optimization/python/core/quantization/keras/graph_transformations/transforms_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import copy
  import tensorflow
  from tensorflow_model_optimization.python.core.quantization.keras.graph_transformations import transforms
label_desc: Use image node_id 1 for calling the LayerNodeTest obj's underlying member method code with example usage: obj.testEqualityLayerNode() without return types