jax.numpy.issubdtype

Warning

This page was created from a pull request (#9655).

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.

This is like the builtin issubclass(), but for dtypes.

Parameters
  • arg1 (dtype_like) – dtype or object coercible to one

  • arg2 (dtype_like) – dtype or object coercible to one

Returns

out

Return type

bool