v0.5.2
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.