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

.. _api_fluid_layers_add_position_encoding:

add_position_encoding
---------------------

..  autofunction:: paddle.fluid.layers.add_position_encoding
    :noindex:

