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

Function literal_broadcast

test/auto_contiguous_test.cpp:38–48  ·  view source on GitHub ↗

TODO: Add this test case

Source from the content-addressed store, hash-verified

36
37// TODO: Add this test case
38[[maybe_unused]] static void literal_broadcast()
39{
40 migraphx::module m;
41
42 m.add_literal(get_2_broadcasted());
43 EXPECT(not m.get_output_shapes().back().standard());
44 EXPECT(m.get_output_shapes().back().broadcasted());
45 run_pass(m);
46 EXPECT(m.get_output_shapes().back().standard());
47 EXPECT(not m.get_output_shapes().back().broadcasted());
48}
49
50TEST_CASE(literal_transpose)
51{

Callers

nothing calls this directly

Calls 7

get_2_broadcastedFunction · 0.85
backMethod · 0.80
run_passFunction · 0.70
add_literalMethod · 0.45
standardMethod · 0.45
get_output_shapesMethod · 0.45
broadcastedMethod · 0.45

Tested by

no test coverage detected