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.

[ Full content available at: 
https://github.com/apache/incubator-mxnet/issues/12484 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to