jax.Array.ptp

Contents

jax.Array.ptp#

abstract Array.ptp(axis=None, out=None, keepdims=False)[source]#

Return the peak-to-peak range along a given axis.

Refer to jax.numpy.ptp() for the full documentation.

Parameters:
  • self (Array)

  • axis (reductions.Axis)

  • out (None)

  • keepdims (bool)

Return type:

Array