Shortcuts

mmengine.runner.get_priority

mmengine.runner.get_priority(priority)[source]

Get priority value.

Parameters:

priority (int or str or Priority) – Priority.

Returns:

The priority value.

Return type:

int