Examples to use miopenReduceTensor and compare with corresponding implementation using cudnnReduceTensor