ut3_tucker_factors_shared#
- t3toolbox.backend.sharing.ut3_tucker_factors_shared(data, sharing, rtol=1e-09)#
def ut3_tucker_factors_shared( data: typ.Tuple[ NDArray, # tucker_supercore, shape=(d,)+stack+(n,N) NDArray, # tt_supercore, shape=(d,)+stack+(r,n,r) typ.Sequence[int], # shape, static int tuple 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 factor deviation ) -> NDArray: # bool array, shape = stack_shape (scalar/0-d when unstacked)
True (per stack element) where the MASKED Tucker factors are tied within every sharing group – the uniform twin of
t3_tucker_factors_shared()(the boolean form ofut3_sharing_residual(); a non-enforcing checker).