message: [tf] Change TensorArray "enable_identical_shapes" to infer_shape by default.
diff: @@ -36,9 +36,6 @@ from tensorflow.python.ops import gen_data_flow_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.util import tf_should_use
  -# TODO(ebrevdo): Set to True in Dec. 4, 2017.
  -_ENABLE_IDENTICAL_ELEMENT_SHAPES = False
  -
  # _GraphTensorArray accesses many of the hidden generated ops, but is in
  # fact built to wrap these methods.
  @@ -150,18 +147,15 @@ class _GraphTensorArray(object):
  # will retroactively set the device value of this op.
  def create():
  """Create the TensorArray op."""
  - ta_kwargs = {}
  - if _ENABLE_IDENTICAL_ELEMENT_SHAPES:
  - ta_kwargs["identical_element_shapes"] = infer_shape
  return gen_data_flow_ops._tensor_array_v3(
  dtype=dtype,
  size=size,
  element_shape=element_shape,
  + identical_element_shapes=infer_shape,
  dynamic_size=dynamic_size,
  clear_after_read=clear_after_read,
  tensor_array_name=tensor_array_name,
  - name=scope,
  - **ta_kwargs)
  + name=scope)
  if colocate_with_first_write_call:
  with ops.device(None), ops.colocate_with(None, ignore_existing=True):
  self._handle, self._flow = create()
  