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);