<commit_before>Standard Function implementations
=================================

.. module:: chainer.functions

Chainer provides basic :class:`~chainer.Function` implementations in the
:mod:`chainer.functions` package.

Non-parameterized functions are provided as plain Python functions. These can be
used directly in forward computation without explicit handling of
:class:`~chainer.Function` objects. On the other hand, parameterized functions
should be used with explicit handling of :class:`~chainer.Function` objects.

Learnable connections
---------------------
.. autoclass:: BinaryHierarchicalSoftmax
.. autoclass:: Convolution2D
.. autoclass:: EmbedID
.. autoclass:: Linear
.. autoclass:: NegativeSampling
.. autoclass:: Parameter

Array commputation functions
----------------------------
.. autofunction:: convolution_2d
.. autofunction:: linear

Array manipulation functions
----------------------------
.. autofunction:: concat
.. autofunction:: copy
.. autofunction:: dropout
.. autofunction:: identity
.. autofunction:: reshape
.. autofunction:: split_axis

Array computations
------------------
.. autofunction:: matmul
.. autofunction:: batch_matmul

Activation functions
--------------------
.. autofunction:: cos
.. autofunction:: exp
.. autofunction:: leaky_relu
.. autofunction:: log
.. autofunction:: lstm
.. autoclass:: PReLU
.. autofunction:: relu
.. autofunction:: sigmoid
.. autofunction:: sin
.. autofunction:: softmax
.. autofunction:: softplus
.. autofunction:: tanh

Pooling functions
-----------------
.. autofunction:: average_pooling_2d
.. autofunction:: max_pooling_2d

Normalization functions
-----------------------
.. autoclass:: BatchNormalization
   :members: __call__
.. autofunction:: local_response_normalization

Loss, evaluation and aggregation
--------------------------------
.. autofunction:: accuracy<commit_msg>Add gaussian to the document<commit_after>Standard Function implementations
=================================

.. module:: chainer.functions

Chainer provides basic :class:`~chainer.Function` implementations in the
:mod:`chainer.functions` package.

Non-parameterized functions are provided as plain Python functions. These can be
used directly in forward computation without explicit handling of
:class:`~chainer.Function` objects. On the other hand, parameterized functions
should be used with explicit handling of :class:`~chainer.Function` objects.

Learnable connections
---------------------
.. autoclass:: BinaryHierarchicalSoftmax
.. autoclass:: Convolution2D
.. autoclass:: EmbedID
.. autoclass:: Linear
.. autoclass:: NegativeSampling
.. autoclass:: Parameter

Array commputation functions
----------------------------
.. autofunction:: convolution_2d
.. autofunction:: linear

Array manipulation functions
----------------------------
.. autofunction:: concat
.. autofunction:: copy
.. autofunction:: identity
.. autofunction:: reshape
.. autofunction:: split_axis

Array computations
------------------
.. autofunction:: matmul
.. autofunction:: batch_matmul

Activation functions
--------------------
.. autofunction:: cos
.. autofunction:: exp
.. autofunction:: leaky_relu
.. autofunction:: log
.. autofunction:: lstm
.. autoclass:: PReLU
.. autofunction:: relu
.. autofunction:: sigmoid
.. autofunction:: sin
.. autofunction:: softmax
.. autofunction:: softplus
.. autofunction:: tanh

Pooling functions
-----------------
.. autofunction:: average_pooling_2d
.. autofunction:: max_pooling_2d

Normalization functions
-----------------------
.. autoclass:: BatchNormalization
   :members: __call__
.. autofunction:: local_response_normalization

Noise injecting functions 
-------------------------
.. autofunction:: dropout
.. autofunction:: gaussian

Loss, evaluation and aggregation
--------------------------------
.. autofunction:: accuracy
{'fraction_non_alphanumeric': 0.21271585557299844, 'fraction_numerical': 0.0020931449502878076, 'mean_word_length': 2.978147762747138, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4535664', 'n_tokens_mistral': 1004, 'n_tokens_neox': 952, 'n_words': 286}