(tensor, criteria)
return aggregate(tensor, (1, tensor.shape[1]), criteria)
Aggregates neurons (rows) in given weight matrix.
  
    :param tensor: PyTorch tensor
    :type tensor: `torch.Tensor`
    :param criteria: Aggregation criteria
    :type criteria: `condensa.functional`
    :return: Neuron-aggregated tensor
    :rtype: `torch.Tensor`
Aggregates neurons (rows) in given weight matrix.
  
    :param tensor: PyTorch tensor
    :type tensor: `torch.Tensor`
    :param criteria: Aggregation criteria
    :type criteria: `condensa.functional`
    :return: Neuron-aggregated tensor
    :rtype: `torch.Tensor`
Aggregates neurons ( rows ) in given weight matrix . : param tensor : PyTorch tensor : type tensor : torch . Tensor : param criteria : Aggregation criteria : type criteria : condensa . functional : return : Neuron - aggregated tensor : rtype : torch . Tensor
def aggregate_neurons(tensor, criteria):
    """
    Aggregates neurons (rows) in given weight matrix.
  
    :param tensor: PyTorch tensor
    :type tensor: `torch.Tensor`
    :param criteria: Aggregation criteria
    :type criteria: `condensa.functional`
    :return: Neuron-aggregated tensor
    :rtype: `torch.Tensor`
    """
    return aggregate(tensor, (1, tensor.shape[1]), criteria)
def aggregate_neurons ( tensor , criteria ) : return aggregate ( tensor , ( 1 , tensor . shape [ 1 ] ) , criteria )