Return True if xp is backed by NumPy.
(xp)
| 265 | |
| 266 | |
| 267 | def _is_numpy_namespace(xp): |
| 268 | """Return True if xp is backed by NumPy.""" |
| 269 | return xp.__name__ in _NUMPY_NAMESPACE_NAMES |
| 270 | |
| 271 | |
| 272 | def supported_float_dtypes(xp, device=None): |
no outgoing calls
searching dependent graphs…