2019-08-29 17:51:15 -07:00
|
|
|
|
|
|
|
jax.nn package
|
|
|
|
=================
|
|
|
|
|
|
|
|
.. currentmodule:: jax.nn
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
jax.nn.initializers
|
|
|
|
|
|
|
|
.. automodule:: jax.nn
|
|
|
|
|
|
|
|
|
|
|
|
Activation functions
|
|
|
|
------------------------
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
:toctree: _autosummary
|
|
|
|
|
|
|
|
relu
|
2020-04-29 14:59:23 -04:00
|
|
|
relu6
|
2019-08-29 17:51:15 -07:00
|
|
|
sigmoid
|
|
|
|
softplus
|
|
|
|
soft_sign
|
|
|
|
swish
|
|
|
|
log_sigmoid
|
|
|
|
leaky_relu
|
2020-04-29 14:59:23 -04:00
|
|
|
hard_sigmoid
|
|
|
|
hard_swish
|
2019-08-29 17:51:15 -07:00
|
|
|
hard_tanh
|
|
|
|
elu
|
|
|
|
celu
|
|
|
|
selu
|
|
|
|
gelu
|
2019-12-02 14:21:10 -05:00
|
|
|
glu
|
2019-08-29 17:51:15 -07:00
|
|
|
|
|
|
|
Other functions
|
|
|
|
---------------
|
|
|
|
|
|
|
|
.. autosummary::
|
|
|
|
:toctree: _autosummary
|
|
|
|
|
|
|
|
softmax
|
|
|
|
log_softmax
|
|
|
|
normalize
|
2020-04-06 12:39:28 -04:00
|
|
|
one_hot
|