p>
</blockquote>
<p>Returns a list of sparsities in the same order as params. Sparsities satisfy
the Erdos-Renyi(Kernel) distribution, where the model has a total parameter count
as one with uniform sparsities, that is, satisfying the following equation:
$ eps * (p_1 * N_1 + p_2 * N_2) = (1 - model_sparsity) * (N_1 + N_2) $, for some float <code>eps</code>.</p>
<p>Args:
params: list of all sparseable parameters
model_sparsity: target overall sparsity between 0 and 1
include_kernel: if True, kernel dimension