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