code: def _testTensorArrayEvalEmptyWithDefault(self):
      with self.session(), self.test_scope():
  
          def fn():
              ta = tensor_array_ops.TensorArray(
                  dtype=dtypes.float32, size=0, infer_shape=True
              )
              size = ta.size()
              ta = ta.unstack(array_ops.zeros([0, 3, 5]))
              return [size, ta.stack()]
  
          [size, stack] = self.evaluate(xla.compile(fn))
          self.assertEqual(0, size)
          self.assertAllEqual([0, 3, 5], stack.shape)
          # Concatenating zero tensors along their first dimension gives a
          # first dimension of zero
          if not control_flow_util.ENABLE_CONTROL_FLOW_V2:
  
              def fn():
                  ta = tensor_array_ops.TensorArray(
                      dtype=dtypes.float32, size=0, infer_shape=True
                  )
                  ta = ta.unstack(array_ops.zeros([0, 3, 5]))
                  return ta.concat()
  
              # TODO(b/122315751): Enable this.
              self.assertAllEqual(
                  [0, 5], self.evaluate(xla.compile(fn))[0].shape
              )
  
imports: import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.compiler.xla import xla
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import control_flow_util
  from tensorflow.python.ops import gen_data_flow_ops
  from tensorflow.python.ops import gradients_impl
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.ops import tensor_array_grad
  from tensorflow.python.ops import tensor_array_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 38 for calling the TensorArrayTest obj's underlying member method code with example usage: obj._testTensorArrayEvalEmptyWithDefault() and returns: list, ta