SpacingΒΆ

Return the spacing between x and the next adjacent number.

Abstract Signature:

Spacing(x: Tensor)

JAX (Core)

API: jax.numpy.spacing
Strategy: Direct Mapping

NumPy

API: numpy.spacing
Strategy: Direct Mapping