angle

static OperationNamespace.angle(input, *, name=None)

Returns the element-wise complex argument.

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

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

Returns

The element-wise argument \(\arg(x)\).

Return type

Tensor