Addons: Implement Sparsemax Activation and Loss

Created on 17 Jan 2019  路  3Comments  路  Source: tensorflow/addons

Per the RFC, we need to move sparsemax from contrib to addons:

  • [X] Moving sparsemax to addons/activations and modifying test cases to run in TF2.
  • [X] Restructuring sparsemax_loss in an OO format by inheriting from base Keras Loss, modifying the code to match those APIs, and modifying test cases to run in TF2.

https://arxiv.org/abs/1602.02068

help wanted losses

Most helpful comment

Yep. I will give it a go. Perhaps next week.

All 3 comments

@AndreasMadsen Hi, Andreas. As the author of sparsemax, would you like to migrate it from contrib to addons? That would be greatly helpful :-)

Yep. I will give it a go. Perhaps next week.

Great!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maziyarpanahi picture maziyarpanahi  路  3Comments

shun-lin picture shun-lin  路  4Comments

gabrieldemarmiesse picture gabrieldemarmiesse  路  3Comments

seanpmorgan picture seanpmorgan  路  4Comments

seanpmorgan picture seanpmorgan  路  3Comments