This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
Refactor op test on remainder, uniform and gaussian #1509
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
使用新单测重写了
remainder, uniform_random, gaussian_random
的单测Remainder
算子类型
OpMapper
Test Cases Checklist
张量维度
special shape
挑选 2D/3D/4D 张量中的一个,测试下面的特殊情况。
张量数据类型
广播
算子属性
算子属性的测试用例。
备注
Uniform_random & Gaussian_random
算子类型
OpMapper
Test Cases Checklist
张量维度
special shape
挑选 2D/3D/4D 张量中的一个,测试下面的特殊情况。
张量数据类型
广播
算子属性
算子属性的测试用例。
uniform_random: min
uniform_random: max
uniform_random & gaussian_random: seed
gaussian_random: mean
gaussian_random: std
备注
thrust
库实现,其offset
从GPUContext
中获取,目前暂时无法严格对齐