truediv

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

Divides two values element-wise.

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

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

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

Returns

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

Return type

Tensor