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
b4b864a7
Commit
b4b864a7
authored
Jul 31, 2023
by
Brian Pickrell
Browse files
multinomial_dyn_test with 0-size seed at runtime
parent
5c043ac8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
src/include/migraphx/op/rand_uniform.hpp
src/include/migraphx/op/rand_uniform.hpp
+0
-1
No files found.
src/include/migraphx/op/rand_uniform.hpp
View file @
b4b864a7
...
...
@@ -105,7 +105,6 @@ struct rand_uniform
if
(
args
.
at
(
1
).
get_shape
().
element_space
()
>
0
)
{
visit_all
(
args
[
1
])([
&
](
auto
data
)
{
local_seed
=
data
[
0
];
});
local_seed
++
;
}
else
// obtain a seed from the system clock:
local_seed
=
std
::
chrono
::
system_clock
::
now
().
time_since_epoch
().
count
();
...
...
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