pow

static OperationNamespace.pow(x, y, *, name=None)

Raises one value to the power of another element-wise.

Parameters
  • x (number or np.ndarray or Tensor) – The base, \(x\).

  • y (number or np.ndarray or Tensor) – The exponent, \(y\).

  • name (str, optional) – The name of the node.

Returns

The element-wise value of \(x^y\).

Return type

Tensor