MCPcopy Create free account
hub / github.com/LoSealL/VideoSuperResolution / test_correlation

Function test_correlation

UTest/correlation_test.py:29–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27
28
29def 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
38def test_correlation_stride():

Callers

nothing calls this directly

Calls 1

correlationFunction · 0.90

Tested by

no test coverage detected