nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/Broadcast.java
public static INDArray max(INDArray x, INDArray y, INDArray z, int... dimensions) {
        if(dimensions == null) {
            Preconditions.checkArgument(Arrays.equals(x.shape(),y.shape()),getFormattedShapeErrorMessageXy(x,y));
            Preconditions.checkArgument(Arrays.equals(x.shape(),z.shape()),getFormattedShapeErrorMessageXResult(x,z));
            return Nd4j.getExecutioner().execAndReturn(new OldMax(x,y,z,x.length()));
        }


        return Nd4j.getExecutioner().execAndReturn(new BroadcastMax(x,y,z,dimensions));
    }
public static INDArray max(INDArray x, INDArray y, INDArray z, int... dimensions) {
        if(dimensions == null) {
            Preconditions.checkArgument(Arrays.equals(x.shape(),y.shape()),getFormattedShapeErrorMessageXy(x,y));
            Preconditions.checkArgument(Arrays.equals(x.shape(),z.shape()),getFormattedShapeErrorMessageXResult(x,z));
            return Nd4j.getExecutioner().execAndReturn(new OldMax(x,y,z,x.length()));
        }


        return Nd4j.getExecutioner().execAndReturn(new BroadcastMax(x,y,z,dimensions));
    }
public static INDArray max ( INDArray x , INDArray y , INDArray z , int ... dimensions ) { if ( dimensions == null ) { Preconditions . checkArgument ( Arrays . equals ( x . shape ( ) , y . shape ( ) ) , getFormattedShapeErrorMessageXy ( x , y ) ) ; Preconditions . checkArgument ( Arrays . equals ( x . shape ( ) , z . shape ( ) ) , getFormattedShapeErrorMessageXResult ( x , z ) ) ; return Nd4j . getExecutioner ( ) . execAndReturn ( new OldMax ( x , y , z , x . length ( ) ) ) ; } return Nd4j . getExecutioner ( ) . execAndReturn ( new BroadcastMax ( x , y , z , dimensions ) ) ; }
Broadcast max op. See: {@link BroadcastMax}
Broadcast max op . See : {