Commit 1f9e7402 authored by Brian Pickrell's avatar Brian Pickrell
Browse files

make function arguments const reference in random_seed

parent d3d26e53
...@@ -52,13 +52,13 @@ struct random_seed ...@@ -52,13 +52,13 @@ struct random_seed
} }
std::string name() const { return "random_seed"; } std::string name() const { return "random_seed"; }
shape compute_shape(std::vector<shape> inputs) const shape compute_shape(const std::vector<shape>& inputs) const
{ {
(void)inputs; (void)inputs;
return migraphx::shape(dtype, {1}); return migraphx::shape(dtype, {1});
} }
argument compute(const shape& output_shape, std::vector<argument> args) const argument compute(const shape& output_shape, const std::vector<argument>& args) const
{ {
(void)args; (void)args;
argument result(output_shape); argument result(output_shape);
......
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