weights: sparsifying Tensor2s into layered tensors