message: Add test cases for DT_HALF support with DepthToSpace on GPU.
diff: @@ -35,8 +35,8 @@ from tensorflow.python.platform import tf_logging
  class DepthToSpaceTest(test.TestCase):
  - def _testOne(self, inputs, block_size, outputs):
  - input_nhwc = math_ops.to_float(inputs)
  + def _testOne(self, inputs, block_size, outputs, dtype=dtypes.float32):
  + input_nhwc = math_ops.cast(inputs, dtype)
  with self.test_session(use_gpu=False):
  # test NHWC (default) on CPU
  x_tf = array_ops.depth_to_space(input_nhwc, block_size)
  @@ -59,6 +59,12 @@ class DepthToSpaceTest(test.TestCase):
  x_out = [[[[1], [2]], [[3], [4]]]]
  self._testOne(x_np, block_size, x_out)
  + def testBasicFloat16(self):
  + x_np = [[[[1, 2, 3, 4]]]]
  + block_size = 2
  + x_out = [[[[1], [2]], [[3], [4]]]]
  + self._testOne(x_np, block_size, x_out, dtype=dtypes.float16)
  +
  # Tests for larger input dimensions. To make sure elements are
  # correctly ordered spatially.
  def testBlockSize2(self):
  