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

Function test_make_vector

UTest/correlation_test.py:9–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8
9def test_make_vector():
10 x = tf.constant([[
11 [[1, 1.1, 1.2], [2, 2.1, 2.2], [3, 3.1, 3.2]],
12 [[4, 4.1, 4.2], [5, 5.1, 5.2], [6, 6.1, 6.2]],
13 [[7, 7.1, 7.2], [8, 8.1, 8.2], [9, 9.1, 9.2]]
14 ]], 'float32')
15 y = _make_vector(x, 3)
16 return y
17
18
19def test_make_displacement():

Callers

nothing calls this directly

Calls 1

_make_vectorFunction · 0.90

Tested by

no test coverage detected