Run Context

This page contains the reference documentation for Maze’ high-level Python API RunContext. This article documents in detail how to work with a RunContext as well as its benefits and limitations

Utilities

ConfigurationAuditor

Checks specified RunContext configuration for consistency and prepares it for the initialization procedure.

ConfigurationLoader

A ConfigurationLoader loads and post-processes a particular configuration for RunContext.

RunMode

Available run modes for Python API, associated with the corresponding base config module names.

RunContextError

Exception indicating Error in RunContext.

InvalidSpecificationError

Exception indicating Error due to inconsistent specification in RunContext.

Run Context

RunContext

RunContext offers convenient access to consistently configured training and rollout capabilities with minimal setup, yet is flexible enough to enable manipulation of every configurable aspect of Maze.