machichima commented on code in PR #734:
URL: https://github.com/apache/mahout/pull/734#discussion_r2630782206
##########
qdp/qdp-core/tests/memory_safety.rs:
##########
@@ -114,15 +118,24 @@ fn test_dlpack_tensor_metadata() {
assert_eq!(stride, 1, "Stride for 1D contiguous array should be 1");
assert_eq!(tensor.dtype.code, 5, "Should be complex type (code=5)");
- assert_eq!(tensor.dtype.bits, 128, "Should be 128 bits (2x64-bit
floats)");
+ assert_eq!(
+ tensor.dtype.bits, 128,
+ "Should be 128 bits (2x64-bit floats)"
+ );
Review Comment:
I am thinking as we change the precision to float32 by default, should we
set the expected value to 2x32 rather than change the precision back to float64?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]