floordiv

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

Divides two values and then takes the floor of the result, 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 \(\lfloor x/y \rfloor\).

Return type

Tensor