code: public static INDArray pow(INDArray ndArray, INDArray power, boolean dup) {
          INDArray result = (dup ? ndArray.ulike() : ndArray);
          return exec(new PowPairwise(ndArray, power, result));
      }
docs: Element-wise power function - x^y, performed element-wise
  
  @param ndArray the ndarray to raise to the power of
  @param power   the power to raise by
  @param dup     if true:
  @return the ndarray raised to this power