nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/ops/transforms/Transforms.java
public static INDArray pow(INDArray ndArray, INDArray power, boolean dup) {
        INDArray result = (dup ? Nd4j.create(ndArray.shape(), ndArray.ordering()) : ndArray);
        return exec(new Pow(ndArray, power, result, ndArray.length(), 0));
    }
public static INDArray pow(INDArray ndArray, INDArray power, boolean dup) {
        INDArray result = (dup ? Nd4j.create(ndArray.shape(), ndArray.ordering()) : ndArray);
        return exec(new Pow(ndArray, power, result, ndArray.length(), 0));
    }
public static INDArray pow ( INDArray ndArray , INDArray power , boolean dup ) { INDArray result = ( dup ? Nd4j . create ( ndArray . shape ( ) , ndArray . ordering ( ) ) : ndArray ) ; return exec ( new Pow ( ndArray , power , result , ndArray . length ( ) , 0 ) ) ; }
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
Element - wise power function - x^y performed element - wise