aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/kernel_tests/constant_op_test.py
diff options
context:
space:
mode:
authorGravatar Yifei Feng <yifeif@google.com>2017-11-22 00:39:22 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-11-22 00:42:30 -0800
commite70c00950d295c519fd9c7f8b12e13a3c5aaf710 (patch)
treeee1210f8810e0b0fec9346f762e854b371899919 /tensorflow/python/kernel_tests/constant_op_test.py
parentad7eeec1cc06d7fdba6ee404f03a35fab9cd3e6a (diff)
Automated g4 rollback of changelist 176615107
PiperOrigin-RevId: 176622438
Diffstat (limited to 'tensorflow/python/kernel_tests/constant_op_test.py')
-rw-r--r--tensorflow/python/kernel_tests/constant_op_test.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/tensorflow/python/kernel_tests/constant_op_test.py b/tensorflow/python/kernel_tests/constant_op_test.py
index 6cbdd4cbb3..6167cb9999 100644
--- a/tensorflow/python/kernel_tests/constant_op_test.py
+++ b/tensorflow/python/kernel_tests/constant_op_test.py
@@ -439,10 +439,9 @@ class ZerosLikeTest(test.TestCase):
def testZerosLikeCPU(self):
for dtype in [
- dtypes_lib.float32, dtypes_lib.float64,
- dtypes_lib.int8, dtypes_lib.uint8, dtypes_lib.int16, dtypes_lib.uint16,
- dtypes_lib.int32, dtypes_lib.int64, dtypes_lib.bool,
- dtypes_lib.complex64, dtypes_lib.complex128,
+ dtypes_lib.float32, dtypes_lib.float64, dtypes_lib.int32,
+ dtypes_lib.uint8, dtypes_lib.int16, dtypes_lib.int8,
+ dtypes_lib.complex64, dtypes_lib.complex128, dtypes_lib.int64,
dtypes_lib.string
]:
self._compareZeros(dtype, fully_defined_shape=False, use_gpu=False)
@@ -574,10 +573,9 @@ class OnesLikeTest(test.TestCase):
def testOnesLike(self):
for dtype in [
- dtypes_lib.float32, dtypes_lib.float64,
- dtypes_lib.int8, dtypes_lib.uint8, dtypes_lib.int16, dtypes_lib.uint16,
- dtypes_lib.int32, dtypes_lib.int64, dtypes_lib.bool,
- dtypes_lib.complex64, dtypes_lib.complex128
+ dtypes_lib.float32, dtypes_lib.float64, dtypes_lib.int32,
+ dtypes_lib.uint8, dtypes_lib.int16, dtypes_lib.int8,
+ dtypes_lib.complex64, dtypes_lib.complex128, dtypes_lib.int64
]:
numpy_dtype = dtype.as_numpy_dtype
with self.test_session():