code: public static INDArray log(INDArray ndArray, double base, boolean duplicate) {
          return Nd4j.getExecutioner().exec(new LogX(ndArray, duplicate ? ndArray.ulike() : ndArray, base));
      }
docs: Log on arbitrary base
  
  @param ndArray
  @param base
  @return