jax.Array.item

Contents

jax.Array.item#

abstract Array.item(*args)[source]#

Copy an element of an array to a standard Python scalar and return it.

Parameters:
Return type:

bool | int | float | complex