bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / _external / array_api_compat / common / _helpers / is_cupy_namespace
_lru_cache_wrapper
scipy._external.array_api_compat.common._helpers:is_cupy_namespace
Signature
def is_cupy_namespace(xp: Namespace) → boolSummary
Returns True if xp is a CuPy namespace.
Extended Summary
This includes both CuPy itself and the version wrapped by array-api-compat.
See also
Aliases
scipy.interpolate._bsplines.is_cupy