-
Notifications
You must be signed in to change notification settings - Fork 114
Add Op UnitTest For Max/Mod/Multiply #1482
Add Op UnitTest For Max/Mod/Multiply #1482
Conversation
Thanks for your contribution! |
2023-06-04 16:03:22 AssertionError: False is not true : [Check Outputs] [NVGPU] The 0-th output: total 627 different results, offset=1, shape=(32, 32), 4.242500e+02 vs 4.240000e+02. Maximum diff of the whole array: maximum_relative_diff=4.633789e-01, maximum_absolute_diff=1.500000e+00. 2023-06-04 16:03:22 AssertionError: False is not true : [Check Outputs] [NVGPU] The 0-th output: total 10 different results, offset=3, shape=(2, 3, 3), -3.262500e+01 vs -3.259375e+01. Maximum diff of the whole array: maximum_relative_diff=1.491547e-02, maximum_absolute_diff=1.250000e-01. 2023-06-04 16:03:22 AssertionError: False is not true : [Check Outputs] [NVGPU] The 0-th output: total 504 different results, offset=0, shape=(16, 8, 4, 4), 3.392578e+00 vs 3.396484e+00. Maximum diff of the whole array: maximum_relative_diff=1.463867e+00, maximum_absolute_diff=1.250000e-01. float16的误差超了。 |
这是哪个测试啊?multiply还是mul? |
mul的float16 |
@FisherWY please verify if u free. thx |
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
描述
From #1378
为max、mod、multiply类型算子增加新的测试用例
算子类型
OpMapper
Test Cases Checklist
张量维度
special shape
挑选 2D/3D/4D 张量中的一个,测试下面的特殊情况。
张量数据类型
广播
算子属性
算子属性的测试用例。
op_type
axis
keepdim
备注
test_max_op为防止超过200s,把里面的minimum单独新增一测试文件
描述
From #1378
为mod类型算子增加新的测试用例
算子类型
OpMapper
Test Cases Checklist
张量维度
special shape
挑选 2D/3D/4D 张量中的一个,测试下面的特殊情况。
张量数据类型
广播
算子属性
算子属性的测试用例。
op_type
axis
keepdim
备注
描述
From #1378
为multiply 类型算子增加新的测试用例
算子类型
OpMapper
Test Cases Checklist
张量维度
special shape
挑选 2D/3D/4D 张量中的一个,测试下面的特殊情况。
张量数据类型
广播
算子属性
算子属性的测试用例。
op_type
axis
keepdim
备注