Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
1f9e7402
Commit
1f9e7402
authored
Aug 14, 2023
by
Brian Pickrell
Browse files
make function arguments const reference in random_seed
parent
d3d26e53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/include/migraphx/op/random_seed.hpp
src/include/migraphx/op/random_seed.hpp
+2
-2
No files found.
src/include/migraphx/op/random_seed.hpp
View file @
1f9e7402
...
...
@@ -52,13 +52,13 @@ struct 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
;
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
;
argument
result
(
output_shape
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment