abracudabra.testing =================== .. py:module:: abracudabra.testing .. autoapi-nested-parse:: Assertions for testing purposes. These functions are used in the unitary tests. The equality checks assume no floating-point errors. Functions --------- .. autoapisummary:: abracudabra.testing.assert_tensors_equal abracudabra.testing.assert_arrays_equal abracudabra.testing.assert_frames_equal Module Contents --------------- .. py:function:: assert_tensors_equal(tensor1, tensor2, /) Assert that two Torch tensors are equal. .. py:function:: assert_arrays_equal(array1, array2, /) Assert that two arrays are equal. .. py:function:: assert_frames_equal(frame1, frame2) Assert that two Pandas/cuDF series or dataframes are equal.