pyro-ppl / funsor

Functional tensors for probabilistic programming
https://funsor.pyro.ai
Apache License 2.0
236 stars 20 forks source link

Fix provenance tensor to work with PyTorch 1.11 #588

Closed fritzo closed 2 years ago

fritzo commented 2 years ago

Note that __init__ is automatically called after __new__. I've already made this change in Pyro's fork of ProvenanceTensor in https://github.com/pyro-ppl/pyro/pull/3045

ordabayevy commented 2 years ago

Note that init is automatically called after new.

I see.