Commit ffa6fa8a authored by Paul's avatar Paul
Browse files

Move args

parent 3c45f2ed
...@@ -287,7 +287,7 @@ struct cpu_contiguous ...@@ -287,7 +287,7 @@ struct cpu_contiguous
shape compute_shape(const std::vector<shape>& inputs) const { return op.compute_shape(inputs); } shape compute_shape(const std::vector<shape>& inputs) const { return op.compute_shape(inputs); }
argument compute(context&, const shape& output_shape, std::vector<argument> args) const argument compute(context&, const shape& output_shape, std::vector<argument> args) const
{ {
return op.compute(output_shape, args); return op.compute(output_shape, std::move(args));
} }
}; };
......
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