code: def testCustomNestTraceTypeEq(self):
      trace_components1 = (
          default_types.Literal(1.0),
          default_types.Literal(2.0),
      )
      t1 = custom_nest_trace_type.CustomNestTraceType(
          MaskedValuePair, (True,), trace_components1
      )
  
      trace_components2 = (
          default_types.Literal(1.0),
          default_types.Literal(2.0),
      )
      t2 = custom_nest_trace_type.CustomNestTraceType(
          MaskedValuePair, (True,), trace_components2
      )
      self.assertEqual(t1, t2)
  
      trace_components3 = (
          default_types.Literal(2),
          default_types.Literal(1),
      )
      t3 = custom_nest_trace_type.CustomNestTraceType(
          MaskedValuePair, (False,), trace_components3
      )
      self.assertNotEqual(t1, t3)
  
imports: import dataclasses
  from typing import Any
  from tensorflow.core.function.trace_type import custom_nest_trace_type
  from tensorflow.core.function.trace_type import default_types
  from tensorflow.python.platform import test
  from tensorflow.python.types import trace
label_desc: Use image node_id 1 for calling the CustomNestTraceTypeTest obj's underlying member method code with example usage: obj.testCustomNestTraceTypeEq() without return types