diff options
author | josephyearsley <joggino23@gmail.com> | 2018-06-30 08:14:40 +0100 |
---|---|---|
committer | Joe Yearsley <josephelliotyearsley@gmail.com> | 2018-09-29 17:31:57 +0100 |
commit | 4de591a03a9bd49a05d67fe48f9358dbdac51561 (patch) | |
tree | 6a813218d935a2148ffac3080079161d2c8f682d /tensorflow/python/layers | |
parent | 110baa57112a95c2644896ce6ff75894e1ae61c7 (diff) |
Fixed Pylint Issues
Diffstat (limited to 'tensorflow/python/layers')
-rw-r--r-- | tensorflow/python/layers/core_test.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tensorflow/python/layers/core_test.py b/tensorflow/python/layers/core_test.py index d5b8a0ff65..8ad0e8c4ba 100644 --- a/tensorflow/python/layers/core_test.py +++ b/tensorflow/python/layers/core_test.py @@ -477,7 +477,8 @@ class FlattenTest(test.TestCase): self.assertEqual(shape.as_list(), [None, None]) def testDataFormat5d(self): - np_input_channels_last = np.arange(120, dtype='float32').reshape([1, 5, 4, 3, 2]) + np_input_channels_last = np.arange(120, dtype='float32').reshape( + [1, 5, 4, 3, 2]) with self.test_session() as sess: x = array_ops.placeholder(shape=(1, 5, 4, 3, 2), dtype='float32') @@ -493,7 +494,8 @@ class FlattenTest(test.TestCase): self.assertEqual(np_output_cl, np_output_cf) def testDataFormat4d(self): - np_input_channels_last = np.arange(24, dtype='float32').reshape([1, 4, 3, 2]) + np_input_channels_last = np.arange(24, dtype='float32').reshape( + [1, 4, 3, 2]) with self.test_session() as sess: x = array_ops.placeholder(shape=(1, 4, 3, 2), dtype='float32') |