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

Function comp

imperative/python/test/unit/functional/test_tensor.py:409–410  ·  view source on GitHub ↗
(out, target_shp)

Source from the content-addressed store, hash-verified

407 data3 = Tensor(np.random.random(input3_shape).astype(np.float32))
408
409 def comp(out, target_shp):
410 assert out._tuple_shape == target_shp
411
412 def func(x, shp):
413 return F.reshape(x, shp)

Callers 1

testFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected