stdd#

Compute the standard deviation of a tensor. The name stdd is used to avoid confliction with the use of the C++ standard library

template<typename InType, int D>
__MATX_INLINE__ auto matx::stdd(const InType &in, const int (&dims)[D])#

Compute a standard deviation reduction

Computes the standard deviation of the input according to the output tensor rank and size along an axis

Template Parameters:
  • InType – Input data type

  • D – Num of dimensions to reduce over

Parameters:
  • in – Input data to reduce

  • dims – Array containing dimensions to reduce over

template<typename InType>
__MATX_INLINE__ auto matx::stdd(const InType &in)#

Compute a standard deviation reduction

Computes the standard deviation of the input according to the output tensor rank and size

Template Parameters:

InType – Input data type

Parameters:

in – Input data to reduce

Examples#

(t0 = stdd(t1)).run(exec);