Commit cd07476b authored by Paul's avatar Paul
Browse files

Formatting

parent b546a9f3
......@@ -118,7 +118,7 @@ shape program::get_parameter_shape(std::string name)
std::unordered_map<std::string, shape> program::get_parameter_shapes() const
{
std::unordered_map<std::string, shape> result;
for(auto&& ins:impl->instructions)
for(auto&& ins : impl->instructions)
{
if(ins.op.name() == "@param")
{
......
......@@ -20,7 +20,7 @@ migraph::argument run_cpu()
auto p = v.create_program();
p.compile(migraph::cpu::cpu_target{});
migraph::program::parameter_map m;
for(auto&& x:p.get_parameter_shapes())
for(auto&& x : p.get_parameter_shapes())
{
m[x.first] = migraph::generate_argument(x.second);
}
......@@ -35,7 +35,7 @@ migraph::argument run_gpu()
p.compile(migraph::gpu::target{});
migraph::program::parameter_map m;
for(auto&& x:p.get_parameter_shapes())
for(auto&& x : p.get_parameter_shapes())
{
m[x.first] = migraph::gpu::to_gpu(migraph::generate_argument(x.second));
}
......
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