()
| 27 | |
| 28 | |
| 29 | def test_correlation(): |
| 30 | x = tf.constant([[ |
| 31 | [[1, 1.1, 1.2], [2, 2.1, 2.2], [3, 3.1, 3.2]], |
| 32 | [[4, 4.1, 4.2], [5, 5.1, 5.2], [6, 6.1, 6.2]], |
| 33 | [[7, 7.1, 7.2], [8, 8.1, 8.2], [9, 9.1, 9.2]] |
| 34 | ]], 'float32') |
| 35 | return correlation(x, x, 3, 1) |
| 36 | |
| 37 | |
| 38 | def test_correlation_stride(): |
nothing calls this directly
no test coverage detected