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
fa4f5244
Commit
fa4f5244
authored
Mar 25, 2019
by
Shucai Xiao
Browse files
refine an error message.
parent
6747beec
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/include/migraphx/operators.hpp
src/include/migraphx/operators.hpp
+1
-1
No files found.
src/include/migraphx/operators.hpp
View file @
fa4f5244
...
...
@@ -919,7 +919,7 @@ struct dot
std
::
size_t
dim_0
=
a_lens
.
size
()
-
2
;
std
::
size_t
dim_1
=
a_lens
.
size
()
-
1
;
if
(
a_lens
[
dim_1
]
!=
b_lens
[
dim_0
])
MIGRAPHX_THROW
(
"
I
nner dimensions do not match, operand A: {"
+
MIGRAPHX_THROW
(
"
DOT: i
nner dimensions do not match, operand A: {"
+
to_string_range
(
a_lens
)
+
"}, operand B: {"
+
to_string_range
(
b_lens
)
+
"}"
);
out_lens
[
dim_1
]
=
b_lens
[
dim_1
];
...
...
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