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

Function create_reduce_mean

test/normalize_ops_test.cpp:121–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121static migraphx::module create_reduce_mean(const std::vector<int64_t>& axes)
122{
123 migraphx::module m;
124 migraphx::shape s{migraphx::shape::float_type, {2, 3, 4, 5}};
125 auto si = m.add_parameter("data", s);
126 auto r = m.add_instruction(migraphx::make_op("reduce_mean", {{"axes", axes}}), si);
127 m.add_return({r});
128
129 return m;
130}
131
132TEST_CASE(reduce_mean_test)
133{

Callers 1

TEST_CASEFunction · 0.85

Calls 4

add_parameterMethod · 0.80
make_opFunction · 0.50
add_instructionMethod · 0.45
add_returnMethod · 0.45

Tested by

no test coverage detected