MCPcopy Create free account
hub / github.com/Kaggle/docker-python / test_addition

Method test_addition

tests/test_tensorflow.py:11–13  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9
10class TestTensorflow(unittest.TestCase):
11 def test_addition(self):
12 result = tf.add([1, 2], [3, 4])
13 self.assertEqual([2], result.shape)
14
15 def test_conv2d(self):
16 input = tf.random.normal([1,2,2,1])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected