public static INDArray[] prepareBounds(INDArray bounds,INDArray x) {
        return new INDArray[]  {Nd4j.valueArrayOf(x.shape(),bounds.getDouble(0)),
                Nd4j.valueArrayOf(x.shape(),bounds.getDouble(1))};
    }
public static INDArray[] prepareBounds(INDArray bounds,INDArray x) {
        return new INDArray[]  {Nd4j.valueArrayOf(x.shape(),bounds.getDouble(0)),
                Nd4j.valueArrayOf(x.shape(),bounds.getDouble(1))};
    }
public static INDArray [ ] prepareBounds ( INDArray bounds , INDArray x ) { return new INDArray [ ] { Nd4j . valueArrayOf ( x . shape ( ) , bounds . getDouble ( 0 ) ) , Nd4j . valueArrayOf ( x . shape ( ) , bounds . getDouble ( 1 ) ) } ; }
Prepare the boundaries for processing
@param bounds the bounds
@param x the input in to the approximation
@return the lower and upper bounds as an array of ndarrays
(in that order) of the same shape as x
Prepare the boundaries for processing