https://github.com/pymc-devs/pymc3/blob/master/pymc3/model.py#L277
One of the important pieces of code that handles variable instantion I think.
TODO:
- Find where RVs register themselves with this context.
- Be able to articulate how the context manager works
https://github.com/pymc-devs/pymc3/blob/master/pymc3/model.py#L409 Implements the interface for things that have logps associated with them like RVs or models
https://github.com/pymc-devs/pymc3/blob/v4/pymc3/model.py#L340 Probably gets the gradient and gets a value. Need to dig into this further
https://github.com/pymc-devs/pymc3/blob/v4/pymc3/model.py#L495 This is where the meat is at
https://github.com/pymc-devs/pymc3/blob/v4/pymc3/model.py#L906
https://github.com/pymc-devs/pymc3/blob/v4/pymc3/model.py#L1364
Short todo
- Ask about capitalization for point, deterministic etc
- Add issue for docstring on determinsitic
- https://github.com/pymc-devs/pymc3/blob/v4/pymc3/model.py#L1572