You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As @fritzo's suggestion in #748, we can use multipledispatch to simplify dispatching work in kl_divergence (and possibly in biject_to too?). We can do this when funsor becomes the main dependency of numpyro.
The text was updated successfully, but these errors were encountered:
For biject_to you could simply use Python 3's builtin singledispatch which requires no extra dependencies. We use that in Funsor for single dispatch. We had avoided that in PyTorch because PyTorch originally supported Python 2 which is missing singledispatch.
As @fritzo's suggestion in #748, we can use
multipledispatch
to simplify dispatching work inkl_divergence
(and possibly inbiject_to
too?). We can do this whenfunsor
becomes the main dependency of numpyro.The text was updated successfully, but these errors were encountered: