jasonyu1996 opened a new issue #12484: [Feature Request] Assertion operators URL: https://github.com/apache/incubator-mxnet/issues/12484 Hi! I personally would be happy to see assertion operators in MXNet. While they might seem useless for imperative computations (the NDArray API), I believe they are absolutely helpful for declarative computation (the Symbol API), especially when implementing libraries (e.g., implementing a library function that takes as input some symbols and returns the result after performing several symbols), where the validity of the input should be checked. Tensorflow has these https://tensorflow.google.cn/api_guides/python/check_ops . It should be noted that in order to ensure that these assertions are executed, how to add them to the computational graph in order to make the output dependent on these assertions should be considered.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
