Closed ordabayevy closed 3 years ago
@eb8680 I wonder if we could remove sample_inputs
from MonteCarlo
and instead read those from a constant funsor. E.g. in #549 I'm struggling with MonteCarlo
introducing sample inputs in adjoint
, and a possible simplification would be to add a Constant
funsor to the root 🤔
After working on this I came to a conclusion that the counterpart of ProvenanceTensor
is not Constant
funsor but something more like Delta
. So the to_funsor
and to_data
patterns should be removed from this PR I believe.
@eb8680 I made the changes that we discussed over Zoom.
Addresses #547