ut3_absorb_weights#
- t3toolbox.uniform_tucker_tensor_train.ut3_absorb_weights(x, weights)#
def ut3_absorb_weights(x: 'UniformTuckerTensorTrain', weights: UT3Weights) -> 'UniformTuckerTensorTrain':
Contract diagonal edge weights into
x’s supercores (shape-preserving): the returnedUniformTuckerTensorTrainrepresents the fully-weighted network, withx’s masks unchanged. Uniform twin oft3toolbox.tucker_tensor_train.t3_absorb_weights(); seeut3_absorb_weights()for the side-conventions.- Parameters:
weights (UT3Weights)
- Return type: