gEconpy.model.model.Model.equation_tensors#
- Model.equation_tensors(filter_known=False)#
Pytensor graphs for the model’s steady-state equations.
Returns one scalar
TensorVariableper equation, each equal to zero at the steady state. All variables and parameters in the shared sympytensor cache are used as graph inputs, so the returned graphs share node identity withss_tensorsandparam_tensors.Each call returns a fresh clone (input leaves shared). The built graphs are memoized internally as immutable masters; consumers compile them, and compilation rewrites graphs in place, so handing out the master directly would let one consumer corrupt it for the next.