public Tensor Max(Tensor result, Tensor src, int dimension) { Tensor writeTarget = NativeWrapper.CreateResultDimensionwise(result, src, dimension); TensorApplyCPU.Max(writeTarget, src, dimension); return(writeTarget); }