You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/08/30 07:02:27 UTC

[GitHub] [incubator-mxnet] szha commented on issue #19045: [Discussion] The science behind testing operators

szha commented on issue #19045:
URL: https://github.com/apache/incubator-mxnet/issues/19045#issuecomment-683384794


   Thanks for bringing up this topic. There are modern testing tools that we could adopt to help with these testing use cases. For example, one widely used package is [hypothesis](https://hypothesis.readthedocs.io/en/latest/quickstart.html#writing-tests). The many built-in strategies it offers for generating inputs should help simplify the test data generation process and improve fuzzy testing. There are even auto-generated tests to help test for the [correct ufunc behavior](https://hypothesis.readthedocs.io/en/latest/ghostwriter.html#hypothesis.extra.ghostwriter.ufunc)


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