Model.update_graph()#
- Model.update_graph()[source]#
Updates the model graph by re-discovering the outputs of all nodes and variables in the graph.
If the updated graph contains singleton nodes, i.e. nodes without inputs or outputs, these nodes are dropped from the graph. Singleton variables are not dropped, but can be dropped manually by calling
drop_singletons().- Return type:
Self