build#
- RLModuleSpec.build() RLModule[source]#
Builds the RLModule from this spec.
- Returns:
A new instance of
module_class, built from this spec’s spaces, model config, and catalog class.- Raises:
ValueError – If
module_classorobservation_spaceisn’t set.- Return type: