Mean for value objects
mean.value.RdOverrides base::mean to work with value objects. Computes the arithmetic mean and properly propagates gradients (each input gets gradient / n).
Usage
# S3 method for class 'value'
mean(x, ...)mean.value.RdOverrides base::mean to work with value objects. Computes the arithmetic mean and properly propagates gradients (each input gets gradient / n).
# S3 method for class 'value'
mean(x, ...)