(self)
| 13 | self.assertEqual([2], result.shape) |
| 14 | |
| 15 | def test_conv2d(self): |
| 16 | input = tf.random.normal([1,2,2,1]) |
| 17 | filter = tf.random.normal([1,1,1,1]) |
| 18 | |
| 19 | result = tf.nn.conv2d(input, filter, strides=[1, 1, 1, 1], padding='SAME') |
| 20 | self.assertEqual(4, len(result.shape)) |
| 21 | |
| 22 | def test_tf_keras(self): |
| 23 | x_train = np.random.random((100, 28, 28)) |
nothing calls this directly
no outgoing calls
no test coverage detected