ut3_tucker_weights_shared ========================= .. py:function:: t3toolbox.backend.sharing.ut3_tucker_weights_shared(weights_data, sharing, rtol = 1e-09) .. code-block:: python def ut3_tucker_weights_shared( weights_data: typ.Tuple[ NDArray, # tucker_weight_supercore, shape=(d,)+stack+(n,) NDArray, # tt_weight_supercore, shape=(d+1,)+stack+(r,) typ.Tuple[NDArray, NDArray], # (tucker_edge_mask, tt_edge_mask), HOST bool, static ], sharing: typ.Sequence, # len=d, static; one hashable group label per mode rtol: float = 1e-9, # relative tolerance on the Tucker-weight deviation ) -> NDArray: # bool array, shape = stack_shape (scalar/0-d when unstacked) True (per stack element) where the MASKED Tucker weights are equal within every sharing group -- the boolean form of :py:func:`ut3_tucker_weights_sharing_residual` (non-enforcing).