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
7a6de62b
Commit
7a6de62b
authored
Jul 21, 2022
by
charlie
Browse files
update pack()
parent
8343d47d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/include/migraphx/op/topk.hpp
src/include/migraphx/op/topk.hpp
+4
-1
No files found.
src/include/migraphx/op/topk.hpp
View file @
7a6de62b
...
...
@@ -47,7 +47,10 @@ struct topk
template
<
class
Self
,
class
F
>
static
auto
reflect
(
Self
&
self
,
F
f
)
{
return
pack
(
f
(
self
.
k
,
"k"
),
f
(
self
.
axis
,
"axis"
),
f
(
self
.
largest
,
"largest"
));
return
pack
(
f
(
self
.
k
,
"k"
),
f
(
self
.
axis
,
"axis"
),
f
(
self
.
largest
,
"largest"
),
f
(
self
.
use_dynamic
,
"use_dynamic"
));
}
value
attributes
()
const
...
...
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