https://github.com/google/jax
Raw File
Tip revision: fafa06dba356c601a371d5de1445095b4b995a7b authored by jax authors on 24 March 2021, 03:09:29 UTC
Merge pull request #6197 from google:update-pypi
Tip revision: fafa06d
jax.nn.rst

jax.nn package
=================

.. currentmodule:: jax.nn

.. toctree::
    :maxdepth: 1

    jax.nn.initializers

.. automodule:: jax.nn


Activation functions
------------------------

.. autosummary::
  :toctree: _autosummary

    relu
    relu6
    sigmoid
    softplus
    soft_sign
    silu
    swish
    log_sigmoid
    leaky_relu
    hard_sigmoid
    hard_silu
    hard_swish
    hard_tanh
    elu
    celu
    selu
    gelu
    glu

Other functions
---------------

.. autosummary::
  :toctree: _autosummary

    softmax
    log_softmax
    logsumexp
    normalize
    one_hot
back to top