Skip to content

v0.5.2

@farhan-syah farhan-syah tagged this 31 Mar 22:26
to_vec::<f64>() is a raw byte reinterpret, not a numeric conversion.
Calling it on F32 tensors produces garbage values that appear non-finite,
causing false failures on platforms where byte layout differs (e.g. Windows).
Replace the three inline finiteness loops with a dtype-aware assert_finite
helper that reads each tensor in its native type before widening to f64.
Assets 2
Loading