Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
6145fd87
Commit
6145fd87
authored
Aug 31, 2019
by
Shucai Xiao
Browse files
fixed an assert error
parent
e8705f4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/quantization.cpp
src/quantization.cpp
+2
-1
No files found.
src/quantization.cpp
View file @
6145fd87
...
...
@@ -42,7 +42,8 @@ instruction_ref insert_quant_ins(program& prog,
assert
(
ins
->
get_shape
().
type
()
==
shape
::
float_type
or
ins
->
get_shape
().
type
()
==
shape
::
double_type
or
ins
->
get_shape
().
type
()
==
shape
::
int32_type
);
ins
->
get_shape
().
type
()
==
shape
::
int32_type
or
ins
->
get_shape
().
type
()
==
shape
::
half_type
);
instruction_ref
quant_ins
{};
auto
insert_loc
=
std
::
next
(
ins
);
if
(
type
==
shape
::
int8_type
)
...
...
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