T3Weights.is_consistent_with#

t3toolbox.tucker_tensor_train.T3Weights.is_consistent_with(x)#
def is_consistent_with(self, x: 'TuckerTensorTrain') -> bool:

True iff these weights’ ranks + stack_shape match the TuckerTensorTrain x (non-raising).

Parameters:

x (TuckerTensorTrain)

Return type:

bool