diff options
| author | Sai Praveen Bangaru <31557731+saipraveenb25@users.noreply.github.com> | 2025-02-20 23:31:05 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-20 23:31:05 -0800 |
| commit | ca592d2791047be4df3cac44c18af99f003bd085 (patch) | |
| tree | 9cbe6ca41ad95257d16bbcc01b0639505203916a /tests/autodiff-dstdlib/dstdlib-max-min.slang.expected.txt | |
| parent | 4d286aab2ec23c081f23846f5dfdb30b1c05728b (diff) | |
Fix gradient behavior for min() and max() functions at boundaries. When input values are equal, the gradient is split evenly between both inputs. (#6411)
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tests/autodiff-dstdlib/dstdlib-max-min.slang.expected.txt')
| -rw-r--r-- | tests/autodiff-dstdlib/dstdlib-max-min.slang.expected.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/autodiff-dstdlib/dstdlib-max-min.slang.expected.txt b/tests/autodiff-dstdlib/dstdlib-max-min.slang.expected.txt new file mode 100644 index 000000000..504343b58 --- /dev/null +++ b/tests/autodiff-dstdlib/dstdlib-max-min.slang.expected.txt @@ -0,0 +1,21 @@ +type: float +5.000000 +-2.000000 +3.000000 +-0.500000 +2.000000 +-2.000000 +3.000000 +-0.500000 +0.500000 +0.500000 +0.500000 +0.500000 +3.000000 +-0.500000 +4.000000 +2.000000 +3.000000 +-0.500000 +2.000000 +-3.000000
\ No newline at end of file |
