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
332dc42e
"src/include/conv_common.hpp" did not exist on "b2888adfbe103ae3d9006af87d5871b69cbf00ba"
Commit
332dc42e
authored
Nov 30, 2023
by
Paul
Browse files
Format
parent
3823ba2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/onnx/parse_range.cpp
src/onnx/parse_range.cpp
+2
-1
No files found.
src/onnx/parse_range.cpp
View file @
332dc42e
...
@@ -57,7 +57,8 @@ struct parse_range : op_parser<parse_range>
...
@@ -57,7 +57,8 @@ struct parse_range : op_parser<parse_range>
auto
limit_val
=
limit
.
front
();
auto
limit_val
=
limit
.
front
();
auto
delta_val
=
delta
.
front
();
auto
delta_val
=
delta
.
front
();
size_t
num_elements
=
ceil
(
static_cast
<
double
>
(
limit_val
-
start_val
)
/
static_cast
<
double
>
(
delta_val
));
size_t
num_elements
=
ceil
(
static_cast
<
double
>
(
limit_val
-
start_val
)
/
static_cast
<
double
>
(
delta_val
));
assert
(
num_elements
>
0
);
assert
(
num_elements
>
0
);
...
...
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