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
16973213
Commit
16973213
authored
Apr 10, 2019
by
Khalique
Browse files
update error message
parent
bda63363
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/tf/tf.cpp
src/tf/tf.cpp
+1
-1
No files found.
src/tf/tf.cpp
View file @
16973213
...
@@ -366,7 +366,7 @@ struct tf_parser
...
@@ -366,7 +366,7 @@ struct tf_parser
size_t
input_size
=
args
.
front
()
->
get_shape
().
lens
().
size
();
size_t
input_size
=
args
.
front
()
->
get_shape
().
lens
().
size
();
if
(
axis
>
input_size
)
if
(
axis
>
input_size
)
{
{
MIGRAPHX_THROW
(
"
Error in protobuf: axis
must be smaller than input size
"
);
MIGRAPHX_THROW
(
"
TF_PARSER: axis value of "
+
to_string
(
axis
)
+
"
must be smaller than input size
"
+
to_string
(
input_size
)
);
}
}
// check if input arg needs axis to be converted to NCHW
// check if input arg needs axis to be converted to NCHW
if
(
input_size
>=
4
)
if
(
input_size
>=
4
)
...
...
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