I am trying to optimize my model by moving from dense matrix calculations to sparse matrices on Tensorflow. But unexpectedly sparse matrix calculations take significantly more t