ivy.minimum(x: ivy.NativeArray, y: ivy.NativeArray, f: Optional[ivy.Framework] = None) → ivy.NativeArray[source]

Returns the min of x and y (i.e. x < y ? x : y) element-wise.

  • x (array) – Input array containing elements to minimum threshold.

  • y (array) – Tensor containing minimum values, must be broadcastable to x.

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


An array with the elements of x, but clipped to not exceed the y values.

Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty