dpctl.tensor.isdtype

dpctl.tensor.isdtype(dtype, kind)[source]

Returns a boolean indicating whether a provided dtype is of a specified data type kind.

See [array API](array_api) for more information.

[array_api]: https://data-apis.org/array-api/latest/