R/utils.R
groupby_mean.Rd
group by mean
groupby_mean(values, labels)
list of value tensors
labels
A torch tensor of the mean of values within each unique group in labels.
torch
values