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

Function TEST_CASE

test/reduce_dims.cpp:54–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54TEST_CASE(same_standard)
55{
56 auto is = make_shape({64, 3, 7, 7});
57 auto os = make_shape({64 * 3 * 7 * 7});
58 std::vector<migraphx::shape> ishapes = {is, is, is};
59 std::vector<migraphx::shape> eshapes = {os, os, os};
60 auto rshapes = migraphx::reduce_dims(ishapes);
61 EXPECT(verify_shapes(ishapes, rshapes));
62 EXPECT(eshapes == rshapes);
63}
64
65TEST_CASE(same_broadcast1)
66{

Callers

nothing calls this directly

Calls 5

reduce_dimsFunction · 0.85
verify_shapesFunction · 0.85
make_shapeFunction · 0.70
reorder_shapeFunction · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected