From 00ac45c5a2d1de51d02adb8074f00ad5b3e5ad25 Mon Sep 17 00:00:00 2001 From: ElchananHaas Date: Mon, 19 Jul 2021 00:41:17 -0400 Subject: [PATCH] Update NDArray.java (#1113) Fix documentation of minimum of two NDArrays to read minimum, not maximum. --- api/src/main/java/ai/djl/ndarray/NDArray.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/main/java/ai/djl/ndarray/NDArray.java b/api/src/main/java/ai/djl/ndarray/NDArray.java index 57cabbd2da5..322c339fa45 100644 --- a/api/src/main/java/ai/djl/ndarray/NDArray.java +++ b/api/src/main/java/ai/djl/ndarray/NDArray.java @@ -1740,7 +1740,7 @@ default boolean allClose(NDArray other, double rtol, double atol, boolean equalN NDArray minimum(Number n); /** - * Returns the maximum of this {@code NDArray} and the other {@code NDArray} element-wise. + * Returns the minimum of this {@code NDArray} and the other {@code NDArray} element-wise. * *

The shapes of this {@code NDArray} and the other {@code NDArray} must be broadcastable. * @@ -1762,7 +1762,7 @@ default boolean allClose(NDArray other, double rtol, double atol, boolean equalN * * * @param other the {@code NDArray} to be compared - * @return the maximum of this {@code NDArray} and the other {@code NDArray} element-wise + * @return the minimum of this {@code NDArray} and the other {@code NDArray} element-wise */ NDArray minimum(NDArray other);