minimum

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.

Parameters
  • 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.

Returns

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