tmoreau89 commented on a change in pull request #5842:
URL: https://github.com/apache/incubator-tvm/pull/5842#discussion_r456671336
##########
File path: vta/python/vta/transform.py
##########
@@ -381,9 +381,10 @@ def _fold_buffer_dim(buf, scope, elem_block):
def _get_2d_pattern(buf, elem_width, elem_bytes, dtype, scope, allow_fold):
elem_block = elem_bytes * 8 // elem_width
- if buf.dtype != dtype:
- raise RuntimeError("Expect buffer type to be %s instead of %s" %
- (dtype, buf.dtype))
+ # remove the checking as we have load_int8 insn
Review comment:
Please remove those lines
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]