pyro-ppl / pyro-api

Generic API for dispatch to Pyro backends.
https://pyro.ai/api
Apache License 2.0
16 stars 5 forks source link

Move all testing code into the main library #2

Open neerajprad opened 5 years ago

neerajprad commented 5 years ago

As pointed out by @fritzo, any code in the test folder will be unusable by other projects, so it makes sense to move these to testing instead. Refer to https://github.com/pyro-ppl/pyro/issues/2053 for details.

fritzo commented 5 years ago

I've been thinking about this. I think it should be possible to register test cases in pytest-oblivious maner by creating an object with

Again, it will help us design this interface to have more concrete tests to generalize from, e.g. MCMC, SVI, data generation, prediction.