message: Slightly ease comparison tolerances in cwise_ops_unary_test_gpu
diff: @@ -139,10 +139,10 @@ class UnaryOpTest(test.TestCase):
  with test_util.use_gpu():
  result = tf_func(ops.convert_to_tensor(x))
  tf_gpu = self.evaluate(result)
  - if x.dtype == np.float16:
  - self.assertAllClose(np_ans, tf_gpu, rtol=1e-3, atol=1e-3)
  - else:
  - self.assertAllClose(np_ans, tf_gpu)
  + # Slightly increase the tolerance for float64 computations. This is
  + # desired for specifically lgamma but shouldn't be of concern for other
  + # functions.
  + self.assertAllCloseAccordingToType(np_ans, tf_gpu, atol=2e-6)
  # TODO(zhifengc/ke): make gradient checker work on GPU.
  def _compareSparseGpu(self, x, np_func, tf_func, tol):
  