ganler opened a new pull request #10519:
URL: https://github.com/apache/tvm/pull/10519


   Similar issues as: 
   https://github.com/apache/tvm/pull/10172
   https://github.com/apache/tvm/pull/9582
   
   The select node requires that `ture_value.dtype() == false_value.dtype()`. 
While sometimes it is not the case when doing "Narrow Datatype" optimization. 
This usually happens when we have an `argmin` / `argmax` node with some other 
nodes.` The workaround is to make `true_value` and `false_value` 
type-compatible before creating a `Select` node.
   
   An artificial ONNX model triggering this bug is attached: 
[model.zip](https://github.com/apache/tvm/files/8200572/model.zip)
    
   cc: @masahi 


-- 
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]


Reply via email to