ymwangg opened a new pull request #6130:
URL: https://github.com/apache/incubator-tvm/pull/6130


   This PR fixes two bugs related to autotvm on the `conv2d_nchw_winograd.mali` 
operator.
   - KeyError when computing`kvshape`
   - Duplicate args returned by `autotvm.task.task.TaskTemplate.get_inputs`
   
   Due to the hack term [here]( 
https://github.com/apache/incubator-tvm/blob/0a1c4c2174e1c4a04ca6e40cd90cdf7c2ef1d90a/topi/python/topi/mali/conv2d.py#L323),
 both tensor `output` and tensor `Y` point to the same tensor `M`, which causes 
tensor `M` to be added in the queue twice. Using a hash set can remove 
duplicate nodes when performing level order traversal.


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to