HyukjinKwon opened a new pull request, #49113:
URL: https://github.com/apache/arrow/pull/49113

   ### Rationale for this change
   
   Half-float (float16) tensor equality comparison was not implemented. The 
TODO comment indicated this was missing functionality. Array/Scalar equality 
for half-float was already fixed in 72d20ad719021c5513620e23a0a65fb724f0e299. 
This PR completes the support by adding tensor comparison.
   
   ### What changes are included in this PR?
   
   - Add `HALF_FLOAT` case to `TensorEquals()` and sparse tensor comparison 
functions
   - Enable `TestFloatTensor` for `HalfFloatType`
   - Update `static_assert` to allow `HalfFloatType` in tensor comparison 
templates
   
   ### Are these changes tested?
   
   Yes, `TestFloatTensor::Equals`.
   
   ### Are there any user-facing changes?
   
   Yes, users can now compare half-float tensors using `Tensor::Equals()`.


-- 
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]

Reply via email to