nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java
public static INDArray sqrt(INDArray ndArray, boolean dup) {
        return exec(dup ? new Sqrt(ndArray, ndArray.dup()) : new Sqrt(ndArray));
    }
public static INDArray sqrt(INDArray ndArray, boolean dup) {
        return exec(dup ? new Sqrt(ndArray, ndArray.dup()) : new Sqrt(ndArray));
    }
public static INDArray sqrt ( INDArray ndArray , boolean dup ) { return exec ( dup ? new Sqrt ( ndArray , ndArray . dup ( ) ) : new Sqrt ( ndArray ) ) ; }
Sqrt function

@param ndArray
@param dup
@return
Sqrt function