We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d31a27f commit 25beb81Copy full SHA for 25beb81
tests/test_tensorflow_bigquery.py
@@ -9,6 +9,7 @@ class TestTensorflowBigQuery(unittest.TestCase):
9
# Some versions of bigquery crashed tensorflow, add this test to make sure that doesn't happen.
10
# python -c "from google.cloud import bigquery; import tensorflow". This flow is common because bigquery is imported in kaggle_gcp.py
11
# which is loaded at startup.
12
- def test_addition(self):
+ def test_matrix_addition(self):
13
result = tf.add([1, 2], [3, 4])
14
self.assertEqual([2], result.shape)
15
+ self.assertListEqual([4, 6], [x for x in result.numpy()])
0 commit comments