https://github.com/google/jax
Raw File
Tip revision: fed7efd73003988282744b2f649df493b808c781 authored by jax authors on 03 April 2024, 18:45:56 UTC
Merge pull request #20571 from hawkinsp:release
Tip revision: fed7efd
jax.nn.rst

``jax.nn`` module
=================

.. currentmodule:: jax.nn

.. toctree::
    :maxdepth: 1

    jax.nn.initializers

.. automodule:: jax.nn


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

.. autosummary::
  :toctree: _autosummary

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

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

.. autosummary::
  :toctree: _autosummary

    softmax
    log_softmax
    logsumexp
    standardize
    one_hot
back to top