已合并
stateless_random_normal_v2 support bf16 #1907
Ding_Jing创建于 3月26日
stateless_random_normal_v2 support bf16 #1907
已合并
Ding_Jing创建于 3月26日
Ding_Jing
Ding_Jing成员
3月26日

描述

aclnnNormalFloatFloat的输出参数out支持BF16类型
aclnnNormalFloatTensor的输入std和输出out支持BF16类型
aclnnNormalTensorFloat的输入mean和输出out支持BF16类型
aclnnNormalTensorTensor输入mean、std和输出out支持BF16类型

关联的Issue

issue #1116

测试

root:/home/ops-math-master# ./test_normal_float_float_bf16
result[0] is: 3.308576
result[1] is: 6.382878
result[2] is: 0.000000
result[3] is: 0.000000
PASS
root:/home/ops-math-master# ./test_normal_float_tensor_bf16
result[0] is: 4.070283
result[1] is: 0.774422
result[2] is: 0.000000
result[3] is: 0.000000
PASS
root:/home/ops-math-master# ./test_normal_tensor_float_bf16
result[0] is: 4.070278
result[1] is: 1.033219
result[2] is: 0.000000
result[3] is: 0.000000
PASS
root:/home/ops-math-master# ./test_normal_tensor_tensor
result[0] is: 1.197252
result[1] is: 1.400380
result[2] is: 0.000000
result[3] is: 0.000000
PASS

文档更新

更新了random/stateless_random_normal_v2/docs/aclnnNormalFloatFloat.md,参数说明中out的数据类型新增BF16
更新了random/stateless_random_normal_v2/docs/aclnnNormalFloatTensor.md,参数说明中std和out的数据类型新增BF16
更新了random/stateless_random_normal_v2/docs/aclnnNormalTensorFloat.md,参数说明中mean和out的数据类型新增BF16
更新了random/stateless_random_normal_v2/docs/aclnnNormalTensorTensor.md,参数说明中mean、std和out的数据类型新增BF16

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 Ding_Jing 的贡献)
Ding_JingDing_Jing成员
3月26日 创建了 pull request,commit 22a8dcf6
CANN-robot
CANN-robot成员
3月26日 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here
You can get sig-info at here


PR Approval Progress

Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
*/*/docs/acl*.md gitcode-chenjiao, songkai111 (2/2) gitcode-chenjiao (1/1)
repo-cann/ops-math songkai111, gubaocheng (2/2) songkai111, gubaocheng (2/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

Ding_Jing, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robotCANN-robot成员
3月26日 添加了label:cann-cla/yes
CANN-robotCANN-robot成员
3月26日 将zhou-qilong,gitee-duhuiping,wangrui_,rxtfeng,loov1,zhangzijie,songkai111,gitcode-chenjiao,llimwang,gubaocheng设为评审人
CANN-robotCANN-robot成员
3月26日 将zhou-qilong,gitee-duhuiping,wangrui_,rxtfeng,loov1,zhangzijie,songkai111,gitcode-chenjiao,llimwang,gubaocheng设为审查人
此处折叠了70条消息 查看更多
CANN-robot
CANN-robot成员
3月31日 评论:

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
liu-wei, ZhaiPeiChao

likedislike
CANN-robotCANN-robot成员
3月31日 添加了label:lgtm
CANN-robot
CANN-robot成员
3月31日 评论:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: gitcode-chenjiao, gubaocheng, songkai111.
Reviewers who wrote a comment of /lgtm are: gitcode-chenjiao, songkai111, gubaocheng.

likedislike
CANN-robotCANN-robot成员
3月31日 关闭了关联的issue
CANN-robotCANN-robot成员
3月31日 合入了pull request