diff --git a/doc/fluid/api_cn/nn_cn/functional_cn/one_hot_cn.rst b/doc/fluid/api_cn/nn_cn/functional_cn/one_hot_cn.rst index be8e99caf95516b275c5cfbcb14d8491a4a84d22..1e9b65ab332fa9dda4e321d87baf8cc90b76e261 100644 --- a/doc/fluid/api_cn/nn_cn/functional_cn/one_hot_cn.rst +++ b/doc/fluid/api_cn/nn_cn/functional_cn/one_hot_cn.rst @@ -3,7 +3,7 @@ one_hot ------------------------------- -.. py:function:: paddle.fluid.one_hot(x, num_classes) +.. py:function:: paddle.fluid.nn.functional.one_hot(x, num_classes, name=None) :alias_main: paddle.nn.functional.one_hot :alias: paddle.nn.functional.one_hot,paddle.nn.functional.common.one_hot