class_docstr: Pretend user-side class for `ConvertToCompositeTensorTest .
class_docstr_tok: ["Pretend","user-side","class","for","`","ConvertToCompositeTensorTest","."]
code: def __getitem__(self, key):
      return self._sequence[key]
  
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 2 for calling the MyTuple obj's underlying member method code with example usage: obj.__getitem__(key) and returns: self