MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / test_create_shape

Function test_create_shape

test/py/test_shape.py:27–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25
26
27def test_create_shape():
28 s = migraphx.shape(lens=[1, 64, 3, 3])
29 assert s.standard()
30 assert s.packed()
31 assert s.lens() == [1, 64, 3, 3]
32 assert s.ndim() == 4
33
34
35def test_create_shape_transposed():

Callers 1

test_shape.pyFile · 0.85

Calls 5

lensMethod · 0.80
ndimMethod · 0.80
shapeMethod · 0.45
standardMethod · 0.45
packedMethod · 0.45

Tested by

no test coverage detected