nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java
public static INDArray log1p(INDArray ndArray, boolean dup) {
        return exec(dup ? new Log1p(ndArray, ndArray.dup()) : new Log1p(ndArray));
    }
public static INDArray log1p(INDArray ndArray, boolean dup) {
        return exec(dup ? new Log1p(ndArray, ndArray.dup()) : new Log1p(ndArray));
    }
public static INDArray log1p ( INDArray ndArray , boolean dup ) { return exec ( dup ? new Log1p ( ndArray , ndArray . dup ( ) ) : new Log1p ( ndArray ) ) ; }
Log of x + 1 function

@param ndArray
@param dup
@return
Log of x + 1 function