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
a7e9ad8b
Commit
a7e9ad8b
authored
Jan 12, 2023
by
charlie
Browse files
Use implicit conversion to size_t
parent
1adbdb5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/include/migraphx/op/reshape.hpp
src/include/migraphx/op/reshape.hpp
+1
-2
No files found.
src/include/migraphx/op/reshape.hpp
View file @
a7e9ad8b
...
...
@@ -93,8 +93,7 @@ struct reshape
return
{
s0
.
type
(),
output_dyn_dims
};
}
template
<
class
T
>
shape
static_compute_shape
(
std
::
vector
<
shape
>
inputs
,
T
n_neg_dims
)
const
shape
static_compute_shape
(
std
::
vector
<
shape
>
inputs
,
std
::
size_t
n_neg_dims
)
const
{
check_shapes
{
inputs
,
*
this
}.
standard
();
auto
&&
idims
=
inputs
.
front
().
lens
();
...
...
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