You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tensor { primitive: Float(NdArrayTensor { array: [[NaN, -inf],
[-inf, NaN]], shape=[2, 2], strides=[2, 1], layout=Cc (0x5), dynamic ndim=2 }) }
thread 'tests::mask::tests::float_mask_fill_infinit' panicked at crates/burn-ndarray/src/lib.rs:41:5:
Tensors are not eq:
=> Position 0: NaN != 10
=> Position 3: NaN != 10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test tests::mask::tests::float_mask_fill_infinit ... FAILED
The text was updated successfully, but these errors were encountered:
antimora
added a commit
to antimora/burn
that referenced
this issue
Aug 3, 2024
Describe the bug
Filling tensor containing f32::NEG_INFINITY will result in NaN for burn-ndarray backend.
To Reproduce
This test will fail:
Expected behavior
Shouldn't fail
Screenshots
Output:
The text was updated successfully, but these errors were encountered: