Closed
Description
#677 is merged, so we are happy to introduce doctest on the docstring. This feature is awesome that can avoid wrong example usage.
Because the change might be small, please submit one sub-module, for example, activations, per PR. For more details, please refer to https://www.tensorflow.org/community/contribute/docs_ref.
Note that available namespace in our repo is tf
for tensorflow
, np
for numpy
and tfa
for tensorflow_addons
.
- activations: https://github.com/tensorflow/addons/tree/master/tensorflow_addons/activations
- callbacks: https://github.com/tensorflow/addons/tree/master/tensorflow_addons/callback
- image: https://github.com/tensorflow/addons/tree/master/tensorflow_addons/image
- layers: https://github.com/tensorflow/addons/tree/master/tensorflow_addons/layers
- losses: https://github.com/tensorflow/addons/tree/master/tensorflow_addons/losses
- metrics: https://github.com/tensorflow/addons/tree/master/tensorflow_addons/metrics
- optimizers: https://github.com/tensorflow/addons/tree/master/tensorflow_addons/optimizers
- rnn: https://github.com/tensorflow/addons/tree/master/tensorflow_addons/rnn
- seq2seq: https://github.com/tensorflow/addons/tree/master/tensorflow_addons/seq2seq
- text: https://github.com/tensorflow/addons/tree/master/tensorflow_addons/text
It's also really appreciated that one can help improve our doc based on https://www.tensorflow.org/community/contribute/docs_style when scrutinizing docstrings.