bundles / scipy 1.17.1 / scipy / _lib / array_api_compat / common / _helpers / is_cupy_namespace
_lru_cache_wrapper
scipy._lib.array_api_compat.common._helpers:is_cupy_namespace
source: /scipy/_lib/array_api_compat/common/_helpers.py :340
Signature
def is_cupy_namespace ( xp : Namespace ) → bool Summary
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.ndimage._filters.is_cupy