Context
Last updated
Last updated
The Evaluator manages the execution context of a program. It's either created by default, passed to the run method, or wrapped around a Component.
Intermidiate data is encapsulated in Transformable object and passed via __call__ method of components. It contains methods for accessing data.
Transformable can be passed between contexts.
Evaluator oversees global memory access throughout its context. Memory used for preserving data that can be accessed in context of Evaluator. Memory acces is provided via special components:
Data in memory cannot be manipulated; it can only be stored. If you need to manipulate data, you must retrieve it, which adds it to intermediate data (Transformable).
The memory state is bound to the context (Evaluator), and you cannot access the memory of other contexts, even if the accessing context is nested within them.
To learn more about the objects and components used to manipulate memory, refer to:
Memory managementEvaluatorAdditionally, the Evaluator handles logging. See more on logging:
Evaluator