code: def test_iter(self):
      x = MyTuple((1, [2.0, 3.0], [[4, 5], [6, 7]]))
      y = ops.convert_to_tensor_or_composite(value=x)
      # TODO(jsimsa): The behavior of `is_tensor` for composite tensors have
      # changed (from True to False) and this check needs to be disabled so that
      # both TAP presubmits (running at HEAD) and Kokoro presubmit (using TF
      # nightly) pass. Re-enable this check when TF nightly picks up this change.
      # self.assertTrue(tf.is_tensor(y))
      self.assertIsInstance(y, tensor_tuple.TensorTuple)
      self.assertLen(y, 3)
      for x_, y_ in zip(x, y):
          self.assertIsInstance(y_, tf.Tensor)
          self.assertTrue(tf.is_tensor(y_))
          self.assertAllEqual(x_, tf.get_static_value(y_))
  
file_path: probability/tensorflow_probability/python/layers/internal/tensor_tuple_test.py
imports: import re
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.layers.internal import tensor_tuple
  from tensorflow.python.framework import ops
label_desc: Use image node_id 1 for calling the CustomConvertToCompositeTensorTest obj's underlying member method code with example usage: obj.test_iter() without return types