Skip to content

Commit eb664fe

Browse files
authored
Update accuracy_cn.rst (#4811)
the doc was editted based on the discussion in the issue: INT32 Failed on paddle.metric.accuracy #42845 PaddlePaddle/Paddle#42845
1 parent 2fb6d43 commit eb664fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/paddle/metric/accuracy_cn.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ accuracy layer。 参考 https://en.wikipedia.org/wiki/Precision_and_recall
1313
:::::::::
1414

1515
- **input** (Tensor)-数据类型为float32,float64。输入为网络的预测值。shape为 ``[sample_number, class_dim]`` 。
16-
- **label** (Tensor)-数据类型为int64,int32。输入为数据集的标签。shape为 ``[sample_number, 1]`` 。
16+
- **label** (Tensor)-数据类型为int64。输入为数据集的标签。shape为 ``[sample_number, 1]`` 。
1717
- **k** (int64|int32,可选) - 取每个类别中k个预测值用于计算,默认值为1。
1818
- **correct** (int64|int32, 可选)-正确预测值的个数,默认值为None。
1919
- **total** (int64|int32,可选)-总共的预测值,默认值为None。

0 commit comments

Comments
 (0)