tests : better input range for unary operators

This commit is contained in:
Georgi Gerganov 2025-12-04 12:18:24 +02:00
parent 83c1171529
commit dad7571ff2
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735
1 changed files with 1 additions and 2 deletions

View File

@ -1919,8 +1919,7 @@ struct test_unary : public test_case {
void initialize_tensors(ggml_context * ctx) override {
for (ggml_tensor * t = ggml_get_first_tensor(ctx); t != NULL; t = ggml_get_next_tensor(ctx, t)) {
// test extended range of values to check for NaNs in GELU
init_tensor_uniform(t, -150.f, 150.f);
init_tensor_uniform(t, -10.f, 10.f);
}
}