Log mismatched values during `tensors_have` check functions
Summary: D48165168 added `bool tensors_have_same_.*(...)` functions as alternative to the `ET_CHECK_SAME_.*(...)` macros. However, one key difference between the two is that the original macro will provide information about which values caused the check to fail, whereas the new functions don't. This diff brings the new functions to parity of behaviour with the original macros by logging which values caused the check to return `false`. Reviewed By: manuelcandales Differential Revision: D48247982 fbshipit-source-id: 2f4f0ec59428d26949e44f1b04ea2ecd8d824b29
S
Stephen Jia committed
9cb9ba043126124344fabe3d634f0c8a7131c7d1
Parent: 48bb99f
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 8/14/2023, 7:35:29 PM