MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / test_svd

Function test_svd

imperative/python/test/unit/utils/test_network_node.py:179–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177
178
179def test_svd():
180 @trace(symbolic=True, capture_as_const=True)
181 def fwd(data):
182 _, out, _ = F.svd(data)
183 return out
184
185 input = Tensor(np.random.random((1, 1, 3, 3)))
186 result = fwd(input)
187 check_pygraph_dump(fwd, [input], [result])
188
189
190def test_conv():

Callers

nothing calls this directly

Calls 3

TensorClass · 0.90
check_pygraph_dumpFunction · 0.85
fwdFunction · 0.70

Tested by

no test coverage detected