UT3Weights.reciprocal#

t3toolbox.uniform_tucker_tensor_train.UT3Weights.reciprocal()#
def reciprocal(self) -> 'UT3Weights':

Elementwise 1/w on the real slots (e.g. to form inverse-singular-value weights); the padding stays a canonical, finite zero rather than becoming inf. Masks unchanged. See ut3_reciprocal_weights() for why that guard is load-bearing (and why real-slot zeros are deliberately not guarded).

Return type:

UT3Weights