You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 1, 2025. It is now read-only.
Nick Gibson edited this page Mar 8, 2019
·
2 revisions
ExecutionContext
This week we made a large structural change to the way Graphs are built and CompiledFunctions are run. The execute()function (and associated HostManager/DeviceManager interfaces) now take an ExecutionContext object which replaces the old Context object. The ExecutionContext is a container for three objects required for execution in the Glow runtime:
PlaceholderBindings (renamed from Context), which map input and output Placeholders to Tensors.
DeviceBindings, which contain Device specific information pertaining to a specific run. This allows moving run specific state out of the CompiledFunction, allowing the same CompiledFunction to be executed on multiple devices concurrently.
TraceEvents, which store any profiling events generated during the run.