assignments to slices, to be exact; anything like:
`weights[group_id][id_of_first_relevant_emb:id_of_last_relevant_emb] = 1/number_of_relevant_embs`

in a loop, such statements produce a lot of cuda commands