(self, density, align=None, criteria=F.l2norm,
                 prune_bias=True)
Creates an instance of `NeuronPrune`.

        :param density: Target density.
        :type density: `float`
        :param align: Tensor alignment in compressed model.
        :type align: `int`
        :param criteria: Neuron aggregation criteria (default: l2norm).
        :type criteria: `condensa.functional`
        :param prune_bias: Whether to prune corresponding biases (default: True).
        :type prune_bias: `bool`
Creates an instance of `NeuronPrune`.
Creates an instance of NeuronPrune .
def __init__(self, density, align=None, criteria=F.l2norm,
                 prune_bias=True):
        """
        Creates an instance of `NeuronPrune`.

        :param density: Target density.
        :type density: `float`
        :param align: Tensor alignment in compressed model.
        :type align: `int`
        :param criteria: Neuron aggregation criteria (default: l2norm).
        :type criteria: `condensa.functional`
        :param prune_bias: Whether to prune corresponding biases (default: True).
        :type prune_bias: `bool`
        """
        self.density = density
        self.align = align
        self.criteria = criteria
        self.prune_bias = prune_bias
def __init__ ( self , density , align = None , criteria = F . l2norm , prune_bias = True ) : self . density = density self . align = align self . criteria = criteria self . prune_bias = prune_bias