Warning
This page was created from a pull request.
jax.numpy.issubdtype¶
-
jax.numpy.
issubdtype
(arg1, arg2)[source]¶ Returns True if first argument is a typecode lower/equal in type hierarchy.
LAX-backend implementation of
issubdtype()
. Original docstring below.- Parameters
arg2 (arg1,) – dtype or string representing a typecode.
- Returns
out
- Return type
Examples
>>> np.issubdtype('S1', np.string_) True >>> np.issubdtype(np.float64, np.float32) False