tf.keras.ops.power

First tensor elements raised to powers from second tensor, element-wise.

Main aliases

tf.keras.ops.numpy.power

x1 The bases.
x2 The exponents.

Output tensor, the bases in x1 raised to the exponents in x2.