ceil

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

Returns element-wise smallest integer not less than x.

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

  • 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 ceiled to integers.


Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty