torch.std — PyTorch 1.10.1 documentation
pytorch.org › docs › stabletorch.std(input, dim, unbiased, keepdim=False, *, out=None) → Tensor. If unbiased is True, Bessel’s correction will be used. Otherwise, the sample deviation is calculated, without any correction. Parameters. input ( Tensor) – the input tensor. dim ( int or tuple of python:ints) – the dimension or dimensions to reduce. Keyword Arguments.
torch.std_mean — PyTorch 1.10.1 documentation
pytorch.org › docs › stabletorch.std_mean(input, unbiased) Calculates the standard deviation and mean of all elements in the input tensor. If unbiased is True, Bessel’s correction will be used. Otherwise, the sample deviation is calculated, without any correction. Parameters. input ( Tensor) – the input tensor. unbiased ( bool) – whether to use Bessel’s correction (.