ModelMixin#
- class liesel.goose.kernel.ModelMixin[source]#
Bases:
object
A mixin facilitating the interaction with the model interface.
Methods
Whether the model interface is set.
log_prob_fn
(model_state)Returns the log-probability function with the position as the only argument.
position
(model_state)Extracts the position from a model state.
set_model
(model)Sets the model interface.
Attributes
Returns the model interface if it is set.