https://github.com/google/jax
Raw File
Tip revision: 7495f71ea42db7b985427a12a1d366ed3cffda64 authored by jax authors on 03 February 2021, 17:15:38 UTC
Merge pull request #5614 from hawkinsp:jaxlib
Tip revision: 7495f71
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