-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【Hackathon No.60】randperm, split, split_with_num 算子FP16/BF16单测完善 #52683
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
globals()[cls_name] = TestSplitBF16Op | ||
|
||
|
||
def create_test_split_with_num_bf16(parent): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
感觉可以复用上面的create_test_bf16
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已修改
globals()[cls_name] = TestSplitFP16Op | ||
|
||
|
||
def create_test_split_with_num_fp16(parent): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
感觉可以复用create_test_fp16
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已修改
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ddlePaddle#52683) * Add split, split_with_num tests * Add randperm tests * Fix code
…ddlePaddle#52683) * Add split, split_with_num tests * Add randperm tests * Fix code
…ddlePaddle#52683) * Add split, split_with_num tests * Add randperm tests * Fix code
PR types
Others
PR changes
Others
Describe
randperm 算子FP16/BF16单测完善
split, split_with_num 算子FP16/BF16单测完善
测试文件相同test_split_op.py
文档修改 PaddlePaddle/docs#5791