default saturate to min/max

This commit is contained in:
Awni Hannun
2025-10-20 09:58:52 -07:00
parent 73613c4d15
commit 6461fcb4aa
3 changed files with 5 additions and 5 deletions

View File

@@ -4051,6 +4051,6 @@ TEST_CASE("test fp8 conversion") {
in_fp8 = to_fp8(in);
out = from_fp8(in_fp8, float32);
auto expected = array({NAN, NAN});
auto expected = array({-448.0f, 448.0f});
CHECK(array_equal(out, expected, true).item<bool>());
}