public static INDArray stabilize ( INDArray ndArray , double k , boolean dup ) { return exec ( dup ? new Stabilize ( ndArray , ndArray . dup ( ) , k ) : new Stabilize ( ndArray , k ) ) ; }
Stabilize to be within a range of k