t3_absorb_weights#
- t3toolbox.tucker_tensor_train.t3_absorb_weights(x, weights)#
def t3_absorb_weights(x: 'TuckerTensorTrain', weights: T3Weights) -> 'TuckerTensorTrain':
Contract diagonal edge weights into
x’s cores (shape-preserving): the returnedTuckerTensorTrainrepresents the fully-weighted network. Seet3toolbox.backend.t3_operations.t3_absorb_weights()for the side-conventions.- Parameters:
weights (T3Weights)
- Return type: