Closed
[Documentation|文档反馈]: 修正aclnnBinaryCrossEntropyWithLogits的输出维度描述 #8777
taochangminAdd on  8 days agoClosed at  8 days ago
taochangmin
taochangminCollaborators
8 days ago Create

修正aclnnBinaryCrossEntropyWithLogits的输出维度描述

likedislike
taochangmin
taochangminCollaborators
8 days ago Comments:

/assign

likedislike
CANN-robotCANN-robotCollaborators
8 days ago Assign taochangmin as responsible person
taochangmintaochangminCollaborators
8 days ago Associated pull request
CANN-robotCANN-robotCollaborators
8 days ago Close issue
CANN-robotCANN-robotCollaborators
8 days ago Added label: resolved
chenjiayi_chenjiayi_Collaborators
2 days ago changed custom category from 需求 to 文档
chenjiayi_chenjiayi_Collaborators
2 days ago Change title to "[Documentation|文档反馈]: 修正aclnnBinaryCrossEntropyWithLogits的输出维度描述", originally titled "修正aclnnBinaryCrossEntropyWithLogits的输出维度描述".
chenjiayi_chenjiayi_Collaborators
2 days ago Added label: documentation
CANN-robotCANN-robotCollaborators
2 days ago changed custom state from 待办的 to 已完成
chenjiayi_
chenjiayi_Collaborators
2 days ago Comments:

补充说明本问题的处理结果。

loss/sigmoid_cross_entropy_with_logits_v2/docs/aclnnBinaryCrossEntropyWithLogits.md 中 out 的维度描述已按实际约束修正:

  • reduction = 0:shape 与 self 一致;
  • reduction != 0:输出单元素,推荐 [1] 或标量,元素个数必须为 1,维度数不做限制。

参数表「使用说明」和「维度(shape)」两列均已同步;约束说明中也补充了 reduction != 0 时 out 元素个数不为 1 的报错场景。

likedislike