code: public static INDArray round(INDArray ndArray, boolean dup) {
          return exec(dup ? new Round(ndArray, ndArray.ulike()) : new Round(ndArray));
      }
docs: Rounding function
  
  @param ndArray the ndarray
  @param dup
  @return