from_dict# classmethod RLModuleSpec.from_dict(d: Dict[str, Any]) → RLModuleSpec[source]# Returns a single agent RLModule spec from a serialized representation. Parameters: d (Dict[str, Any]) – The serialized spec, as to_dict() returns it. Returns: The RLModuleSpec rebuilt from d. Return type: RLModuleSpec