mx.nd.broadcast.power

Description

Returns result of first array elements raised to powers from second array, element-wise with broadcasting.

Example:

x = [[ 1.,  1.,  1.],
[ 1.,  1.,  1.]]

y = [[ 0.],
[ 1.]]

broadcast_power(x, y) = [[ 2.,  2.,  2.],
[ 4.,  4.,  4.]]

Arguments

Argument

Description

lhs

NDArray-or-Symbol.

First input to the function

rhs

NDArray-or-Symbol.

Second input to the function