masahi commented on pull request #6759:
URL: https://github.com/apache/incubator-tvm/pull/6759#issuecomment-717010375


   @t-vi In 
https://github.com/apache/incubator-tvm/pull/6759/commits/d8c5076aec16e32ea7f00d89af8eb82c0e0984a2,
 I ported c++ `broadcast_shape_tensors` function to hybridscript, to be able to 
generate runtime assertion for broadcasting validity check. 
   
   Now, invalid shapes are catched at runtime and result in an error. I added 
one test that intentionally tries to run a compiled model with invalid 
combination of shapes, and verifies that invaild broadcast are properly caught. 
Please have a look!  


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


Reply via email to