pub fn meanvar<T, W>(
input: &Array<T>,
weights: &Array<W>,
bias: VarianceBias,
dim: i64
) -> (Array<T::MeanOutType>, Array<T::MeanOutType>) where
T: HasAfEnum,
T::MeanOutType: HasAfEnum,
W: HasAfEnum + RealFloating,
Calculate mean and variance in single API call
input
is the input Arrayweights
Array has the weights to be used during the stat computationbias
is type of bias used for variance calculationdim
is dimension along which the current stat has to be computedA tuple of Arrays, whose size is equal to input except along the dimension which the stat operation is performed. Array size along dim
will be reduced to one.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4