
计算一个值对另一个值的幂。
别名:
tf.RaggedTensor.__pow__tf.compat.v1.RaggedTensor.__pow__tf.compat.v1.math.powtf.compat.v1.powtf.compat.v2.RaggedTensor.__pow__tf.compat.v2.math.powtf.compat.v2.powtf.math.powtf.powtf.math.pow(
x,
y,
name=None
)给定一个张量x和一个张量y,这个操作计算x和y中对应的元素的

。例如:
x = tf.constant([[2, 2], [3, 3]])
y = tf.constant([[8, 16], [2, 3]])
tf.pow(x, y) # [[256, 65536], [9, 27]]参数:
返回值: