public final class NDUtils
extends Object
A class containing utility methods for NDArray operations.
-
Method Summary
static void
Check two criteria of concat input: 1.
Returns
Shape of the empty
NDArray after applying reduction operations.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getShapeFromEmptyNDArrayForReductionOp
public static Shape getShapeFromEmptyNDArrayForReductionOp(Shape shape,
int axis)
Returns
Shape of the empty
NDArray after applying reduction operations.
- Parameters:
shape - input shape
axis - axis to apply reduction
- Returns:
- the result
Shape
-