Files
mlx/docs/build/html/_sources/python/nn/functions.rst

39 lines
519 B
ReStructuredText
Raw Normal View History

2023-12-17 13:23:03 -08:00
.. _nn_functions:
.. currentmodule:: mlx.nn
Functions
---------
Layers without parameters (e.g. activation functions) are also provided as
simple functions.
.. autosummary::
:toctree: _autosummary_functions
:template: nn-module-template.rst
2024-02-29 12:39:18 -08:00
elu
2023-12-17 13:23:03 -08:00
gelu
gelu_approx
gelu_fast_approx
2024-02-29 12:39:18 -08:00
glu
2024-06-06 20:28:06 -07:00
hard_shrink
hard_tanh
2024-02-29 12:39:18 -08:00
hardswish
leaky_relu
log_sigmoid
log_softmax
2024-01-17 17:15:29 -08:00
mish
2023-12-17 13:23:03 -08:00
prelu
2024-01-17 17:15:29 -08:00
relu
2024-02-29 12:39:18 -08:00
relu6
2024-01-17 17:15:29 -08:00
selu
2024-02-29 12:39:18 -08:00
sigmoid
2023-12-17 13:23:03 -08:00
silu
2024-02-29 12:39:18 -08:00
softmax
2024-06-06 20:28:06 -07:00
softmin
2024-02-29 12:39:18 -08:00
softplus
softshrink
2023-12-17 13:23:03 -08:00
step
2024-02-29 12:39:18 -08:00
tanh