message: Test only for cpu
diff: @@ -389,7 +389,7 @@ class UnaryOpTest(test.TestCase):
  2).reshape(1, 3, 2).astype(dtypes_lib.bfloat16.as_numpy_dtype)
  self._compareCpu(x, np.abs, math_ops.abs)
  self._compareCpu(x, np.abs, _ABS)
  - self._compareBoth(x, np.exp, math_ops.exp)
  + self._compareCpu(x, np.exp, math_ops.exp)
  self._compareBoth(x, np.negative, math_ops.negative)
  self._compareBoth(x, np.negative, _NEG)
  