Utility Functions

Array API specification for utility functions.

A conforming implementation of the array API standard must provide and support the following functions.

Objects in API

all(x, /, *, axis=None, keepdims=False)

Tests whether all input array elements evaluate to True along a specified axis.

any(x, /, *, axis=None, keepdims=False)

Tests whether any input array element evaluates to True along a specified axis.