aeppl.rewriting.NoCallbackEquilibriumDB#

class aeppl.rewriting.NoCallbackEquilibriumDB(ignore_newtrees=True, tracks_on_change_inputs=False)[source]#

This EquilibriumDB doesn’t hide its exceptions.

By setting failure_callback to None in the EquilibriumGraphRewriters that EquilibriumDB generates, we’re able to directly emit the desired exceptions from within the NodeRewriters themselves.

Parameters
  • ignore_newtrees (bool) –

  • tracks_on_change_inputs (bool) –

Methods

NoCallbackEquilibriumDB.__init__([...])

type ignore_newtrees

bool

NoCallbackEquilibriumDB.add_tags(name, *tags)

NoCallbackEquilibriumDB.print_summary([stream])

NoCallbackEquilibriumDB.query(*tags, **kwtags)

NoCallbackEquilibriumDB.register(name, ...)

Register a new rewriter to the database.

NoCallbackEquilibriumDB.remove_tags(name, *tags)