dpnp.around
- dpnp.around(x, /, decimals=0, out=None)[source]
Round an array to the given number of decimals.
For full documentation refer to
numpy.around.- Returns:
out – The rounded value of elements of the array.
- Return type:
dpnp.ndarray
Limitations
Parameter x is only supported as either
dpnp.ndarrayordpctl.tensor.usm_ndarray. Parameters decimals is supported with its default value. Otherwise the function will be executed sequentially on CPU. Input array data types are limited by supported DPNP Data types.See also
dpnp.roundEquivalent function; see for details.
dpnp.ndarray.roundEquivalent function.
dpnp.rintRound elements of the array to the nearest integer.
dpnp.ceilCompute the ceiling of the input, element-wise.
dpnp.floorReturn the floor of the input, element-wise.
dpnp.truncReturn the truncated value of the input, element-wise.
Notes
This function works the same as
dpnp.round.