lhutton1 commented on code in PR #11335:
URL: https://github.com/apache/tvm/pull/11335#discussion_r874598076
##########
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:
Nit: s/form/from
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]