1
0
Fork 0
mirror of https://github.com/vale981/ray synced 2025-03-12 22:26:39 -04:00
ray/rllib/connectors/util.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
235 B
Python
Raw Normal View History

from ray.rllib.connectors.connector import (
Connector,
get_connector,
)
from typing import Dict
def get_connectors_from_cfg(config: dict) -> Dict[str, Connector]:
return {k: get_connector(*v) for k, v in config.items()}