floormod

ivy.floormod(x, y, f=None)[source]

Returns element-wise remainder of division.

Parameters
  • x (array) – Input array to floormod.

  • y (array) – Denominator input for floormod.

  • f (ml_framework, optional) – Machine learning framework. Inferred from inputs if None.

Returns

An array of the same shape and type as x, with the elements floor modded.


Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty