Ask questionsAddons Sparsemax gets different results than Contrib sparsemax
Describe the bug We've gotten a google-internal bug report that sparsemax implementation in tensorflow addons: https://github.com/tensorflow/addons/blob/8bacf4d434974b8821a598aa4d1c9534a6581a5e/tensorflow_addons/activations/sparsemax.py#L25
Produces different results than the sparsemax implementation that was in contrib: https://github.com/tensorflow/tensorflow/blob/23c218785eac5bfe737eec4f8081fd0ef8e0684d/tensorflow/contrib/sparsemax/python/ops/sparsemax.py#L30
For the user's model, the contrib implementation produced better results than the addons implementation.
Are these differences expected? Or is it possible that there is a bug in the addons sparsemax implementation?
Answer questions tomerk
I've passed along the request for a reproducible example, will follow up if they manage to make one.