mmeval.core.get_dist_backend¶
- mmeval.core.get_dist_backend(dist_backend: Optional[str] = None) → mmeval.core.dist_backends.base_backend.BaseDistBackend[source]¶
Returns distributed backend by the given distributed backend name.
- Parameters
dist_backend (str, optional) – The distributed backend name want to get. if None, return the default distributed backend.
- Returns
The distributed backend instance.
- Return type
BaseDistBackend