A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.jax.dev/en/latest/_autosummary/jax.numpy.isdtype.html below:

jax.numpy.isdtype — JAX documentation

jax.numpy.isdtype#
jax.numpy.isdtype(dtype, kind)[source]#

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

Parameters:
  • dtype (DTypeLike) – the input dtype

  • kind (str | DTypeLike | tuple[str | DTypeLike, ...]) –

    the data type kind. If kind is dtype-like, return dtype = kind. If kind is a string, then return True if the dtype is in the specified category:

    • 'bool': {bool}

    • 'signed integer': {int4, int8, int16, int32, int64}

    • 'unsigned integer': {uint4, uint8, uint16, uint32, uint64}

    • 'integral': shorthand for ('signed integer', 'unsigned integer')

    • 'real floating': {float8_*, float16, bfloat16, float32, float64}

    • 'complex floating': {complex64, complex128}

    • 'numeric': shorthand for ('integral', 'real floating', 'complex floating')

    If kind is a tuple, then return True if dtype matches any entry of the tuple.

Returns:

True or False

Return type:

bool


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3