Return L2 norm.
template<class TYPE, size_t SIZE, size_t ...Dimensions> TYPE NormL2(const TTensor<TYPE, SIZE, Dimensions...> &a);