ut3_entries_corewise_transpose#
- t3toolbox.backend.ut3_sampling.ut3_entries_corewise_transpose(c, index, data, sum_over_probes=False)#
def ut3_entries_corewise_transpose( c: NDArray, # residual, shape=W+K+C index: NDArray, # int, shape=(d,)+W (the indices c weights) data: UT3Data, sum_over_probes: bool = False, ) -> typ.Tuple[NDArray, NDArray]: # (tucker-core grad supercore, tt-core grad supercore)
Corewise transpose of
ut3_entries(): gradient w.r.t. the frame supercores (index unpacked – the one-hot vectors are built packed insideentries._onehot_vectors).