tighten abs error bounds for cross_entropy_loss in test-grad0
This commit is contained in:
parent
24a4b099f3
commit
1065c3b7b9
1 changed files with 1 additions and 1 deletions
|
@ -1386,7 +1386,7 @@ int main(int argc, const char ** argv) {
|
||||||
|
|
||||||
struct ggml_tensor * f = ggml_cross_entropy_loss(ctx0, x[0], x[1]);
|
struct ggml_tensor * f = ggml_cross_entropy_loss(ctx0, x[0], x[1]);
|
||||||
|
|
||||||
check_gradient("cross_entropy_loss", ctx0, x, f, ndims, nargs, 1e-4f, 1e-1f, INFINITY);
|
check_gradient("cross_entropy_loss", ctx0, x, f, ndims, nargs, 1e-4f, 1e-3f, INFINITY);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue