-
Notifications
You must be signed in to change notification settings - Fork 0
Observer and Observed
Lszaboo edited this page Nov 9, 2025
·
5 revisions
Since the Dependency graph decides what happens when a User input happened, the management of updating the resources, such as the GPU, resource managemnt is built into the graph for efficient safe and automatic update pipeline.
Observers will serve the roles of resource managers, who manage many nodes (Observed) in the graph. Theese classes are part of the Dependency graph but not in the same sense, as normal Dependents.
The Observed inherit from the Dependent class, so they are essentially nodes in the Dependency graph.
They also have an Observer assigned to them.