Table Of Contents
Table Of Contents

mx.symbol.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.]]

Usage

mx.symbol.broadcast_power(...)

Arguments

Argument

Description

lhs

NDArray-or-Symbol.

First input to the function

rhs

NDArray-or-Symbol.

Second input to the function

name

string, optional.

Name of the resulting symbol.