..  THIS FILE IS GENERATED BY `gen_doc.{py|sh}`
    !DO NOT EDIT THIS FILE MANUALLY!

.. _api_fluid_layers_cross_entropy:

cross_entropy
-------------

..  autofunction:: paddle.fluid.layers.cross_entropy
    :noindex:

