"include/vscode:/vscode.git/clone" did not exist on "ceeca94ac24b9276f662711a6827a6a49200f246"
Commit 81952816 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent 08b3f215
...@@ -1323,8 +1323,8 @@ struct onnx_parser ...@@ -1323,8 +1323,8 @@ struct onnx_parser
} }
instruction_ref parse_reduce_mean(const std::string&, instruction_ref parse_reduce_mean(const std::string&,
attribute_map attributes, attribute_map attributes,
std::vector<instruction_ref> args) std::vector<instruction_ref> args)
{ {
std::size_t n_dim = args.front()->get_shape().lens().size(); std::size_t n_dim = args.front()->get_shape().lens().size();
......
...@@ -862,7 +862,7 @@ TEST_CASE(reducemean_test1) ...@@ -862,7 +862,7 @@ TEST_CASE(reducemean_test1)
TEST_CASE(reducemean_test2) TEST_CASE(reducemean_test2)
{ {
migraphx::program p; migraphx::program p;
auto l0 = p.add_parameter("x", migraphx::shape{migraphx::shape::float_type, {3, 4, 5, 6}}); auto l0 = p.add_parameter("x", migraphx::shape{migraphx::shape::float_type, {3, 4, 5, 6}});
p.add_instruction(migraphx::op::reduce_mean{{2}}, l0); p.add_instruction(migraphx::op::reduce_mean{{2}}, l0);
auto prog = migraphx::parse_onnx("reducemean_test2.onnx"); auto prog = migraphx::parse_onnx("reducemean_test2.onnx");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment