Submodule | Maintainers | Contact Info |
---|---|---|
sparsemax | @AndreasMadsen | [email protected] |
Submodule | Activation | Reference |
---|---|---|
sparsemax | Sparsemax | https://arxiv.org/abs/1602.02068 |
In order to conform with the current API standard, all activations must:
- Be a
tf.function
. - Have the signature
fn(input, axis=-1, name=None)
. - Register as a keras global object so it can be serialized properly.
- Add the addon to the
py_library
in this sub-package's BUILD file.
- Simple unittests that demonstrate the layer is behaving as expected.
- When applicable, run all unittests with TensorFlow's
@run_in_graph_and_eager_modes
(for test method) orrun_all_in_graph_and_eager_modes
(for TestCase subclass) decorator. - Add a
py_test
to this sub-package's BUILD file.
- Update the table of contents in this sub-package's README.