From 072b34f519a988994dc332ebc340728bd1238638 Mon Sep 17 00:00:00 2001 From: yukavio Date: Sun, 16 Aug 2020 14:06:14 +0800 Subject: [PATCH] Update one_hot_cn.rst --- doc/fluid/api_cn/nn_cn/functional_cn/one_hot_cn.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 be8e99caf..1e9b65ab3 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 -- GitLab