public static INDArray log(INDArray ndArray, boolean dup) {
        return exec(dup ? new Log(ndArray, ndArray.dup()) : new Log(ndArray));
    }
public static INDArray log(INDArray ndArray, boolean dup) {
        return exec(dup ? new Log(ndArray, ndArray.dup()) : new Log(ndArray));
    }
public static INDArray log ( INDArray ndArray , boolean dup ) { return exec ( dup ? new Log ( ndArray , ndArray . dup ( ) ) : new Log ( ndArray ) ) ; }
Log function

@param ndArray
@param dup
@return
Log function