You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/05/17 16:22:00 UTC
[GitHub] [tvm] ekalda commented on a diff in pull request #11335: [microNPU] Fix bug in channels extraction in the matcher
ekalda commented on code in PR #11335:
URL: https://github.com/apache/tvm/pull/11335#discussion_r875024546
##########
python/tvm/relay/backend/contrib/ethosu/te/pooling.py:
##########
@@ -239,8 +239,8 @@ def match_ethosu_pooling(output_tensor, device_config):
ifm_dtype = input_tensors[0].dtype
ofm_dtype = output_tensor.dtype
- ifm_channels = int(input_tensors[0].shape[3])
- ofm_channels = ifm_channels
+ # Use channels form a stage of TE graph where the IFM is always NHWC
Review Comment:
Done
--
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.
To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org