t3_absorb_weights ================= .. py:function:: t3toolbox.tucker_tensor_train.t3_absorb_weights(x, weights) .. code-block:: python def t3_absorb_weights(x: 'TuckerTensorTrain', weights: T3Weights) -> 'TuckerTensorTrain': Contract diagonal edge weights into ``x``'s cores (shape-preserving): the returned ``TuckerTensorTrain`` represents the fully-weighted network. See :py:func:`t3toolbox.backend.t3_operations.t3_absorb_weights` for the side-conventions.