code: def _merge_shape(self, value):
      if self._element_shape is None:
          return value.shape
      if len(self._element_shape) != len(value.shape):
          raise ValueError("Shapes not compatible")
      shape = []
      for a, b in zip(self._element_shape, value.shape):
          if a == b or a is None:
              shape.append(b)
          else:
              raise ValueError("Shapes not compatible")
      return tuple(shape)
  
imports: import weakref
  import ivy
  import ivy.functional.frontends.tensorflow
  from ivy.functional.frontends.tensorflow import EagerTensor
label_desc: Use image node_id 12 for calling the TensorArray obj's underlying member method code with example usage: obj._merge_shape(value) and returns: tuple, value