Model.update()

Contents

Model.update()#

Model.update(*names)[source]#

Updates the target nodes and their recursive inputs if they are outdated.

The update is performed in a topological order, restoring a consistent state of the model. This method is called automatically by the nodes if their value is modified (unless auto_update is False).

Parameters:

names (str) – The names of the target nodes to be updated.

Return type:

Model