UT3Weights.corewise_equal#

t3toolbox.uniform_tucker_tensor_train.UT3Weights.corewise_equal(other)#
def corewise_equal(
        self,
        other: 'UT3Weights',
) -> bool:

Bitwise equality of the stored representation – masks and raw supercores including padding (False on any mismatch, never raises).

Parameters:

other (UT3Weights)

Return type:

bool