Backends¶
-
class
brmp.backend.
Backend
(name, gen, prior, nuts, svi, sample_response, expected_response, inv_link, from_numpy, to_numpy)¶
-
brmp.numpyro_backend.
backend
= Backend(name='NumPyro', gen=<function gen>, prior=<function prior>, nuts=<function nuts>, svi=<function svi>, sample_response=<function sample_response>, expected_response=<function expected_response>, inv_link=<function inv_link>, from_numpy=<function from_numpy>, to_numpy=<function to_numpy>)¶ Backend(name, gen, prior, nuts, svi, sample_response, expected_response, inv_link, from_numpy, to_numpy)
-
brmp.pyro_backend.
backend
= Backend(name='Pyro', gen=<function gen>, prior=<function prior>, nuts=<function nuts>, svi=<function svi>, sample_response=<function sample_response>, expected_response=<function expected_response>, inv_link=<function inv_link>, from_numpy=<function from_numpy>, to_numpy=<function to_numpy>)¶ Backend(name, gen, prior, nuts, svi, sample_response, expected_response, inv_link, from_numpy, to_numpy)