question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Various type inconsistencies

See original GitHub issue

Please consider adding jax.numpy.generic as an alias for numpy.generic (it seems to be missing). Also,

In [5]: jnp.issubdtype(jnp.bfloat16, jnp.inexact)
Out[5]: True

In [6]: issubclass(jnp.bfloat16, jnp.inexact)
Out[6]: False

In [7]: issubclass(np.float32, np.inexact)
Out[7]: True

Line 6 should probably return true, which means somehow registering the types like numpy does.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jakevdpcommented, Feb 7, 2022

Anyway, for this issue, you’ve convinced me. I guess all that’s left is adding jnp.generic?

Sure – I’ll take care of that

0reactions
NeilGirdharcommented, Feb 7, 2022

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Inconsistency
We have now discussed some different kinds of inconsistencies. They can be put into categories (intellectual boxes). There are logical inconsistencies (or ...
Read more >
What types of inconsistency are there that we know of?
Type inconsistency (e.g. treating an object as a type that is incompatible with the assumed type, e.g. treating lead as steel is inconsistent...
Read more >
Types of inconsistencies | Download Table - ResearchGate
Table 6 and Table 7 summarize the different kinds of sets and inconsistencies within them in the random sample. ... View in full-text ......
Read more >
Typical types of inconsistency - Sybase Infocenter
There are three typical types of inconsistency that can occur during the execution of concurrent transactions. This list is not exhaustive as other...
Read more >
Inconsistency - Definition, Meaning & Synonyms
Another type of inconsistency is between ideas or propositions. For example, if you want to lose weight but cannot stop eating donuts, there...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found