Torch.Indef.Static.Tensor.Math.Reduce.Floating

Description

Synopsis

# Documentation

Arguments

 :: Tensor d tensor x -> Tensor d tensor y -> HsReal p -> HsAccReal

Returns the p-norm of x - y.

Arguments

 :: Tensor d -> Word dimension to operate over -> KeepDim -> Bool -> Tensor d'

Get the variance over a tensor in the specified dimension. The Bool parameter specifies whether the standard deviation should be used with n-1 or n. False normalizes by n-1, while True normalizes n.

varall :: Tensor d -> Int -> HsAccReal Source #

Returns the variance of all elements.

Arguments

 :: Tensor d -> Word dimension to operate over -> KeepDim -> Bool -> Tensor d'

Performs the std operation over the specified dimension. The Bool parameter specifies whether the standard deviation should be used with n-1 or n. False normalizes by n-1, while True normalizes n.

stdall :: Tensor d -> Int -> HsAccReal Source #

Returns the standard deviation of all elements.

renorm :: Tensor d -> HsReal -> Int -> HsReal -> Tensor d' Source #

Static renorm

Arguments

 :: Tensor d -> HsReal -> Word dimension to operate over -> Tensor d'

Static norm

Arguments

 :: Tensor d tensor of values to norm over -> HsReal p -> HsAccReal

Returns the p-norm of all elements.

Arguments

 :: Tensor d -> Word dimension to operate over -> Tensor d'

Static 'Dynamic.mean

Returns the mean of all elements.