message: Add unit test for TensorArray with int64 in GPU
diff: @@ -1504,6 +1504,19 @@ class TensorArrayTest(test.TestCase):
  vdx, vdy = sess.run([dx, dy])
  self.assertAllClose(vdx, vdy)
  + def testTensorArrayInt64GPU(self):
  + if not test.is_gpu_available():
  + return
  + with self.test_session(use_gpu=True, force_gpu=True) as sess:
  + value = array_ops.placeholder(dtypes.int64)
  + ta = tensor_array_ops.TensorArray(dtype=dtypes.int64, size=2)
  + ta = ta.scatter([0, 1], value)
  + r0 = ta.read(0)
  + r1 = ta.read(1)
  + v0, v1 = sess.run([r0, r1], feed_dict={value: [-3, 100]})
  + self.assertAllEqual(v0, -3)
  + self.assertAllEqual(v1, 100)
  +
  if __name__ == "__main__":
  test.main()
  