mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 17:02:43 +08:00
[Hotfix] Lint for Documentation (#7817)
This commit is contained in:
@@ -22,6 +22,7 @@ try:
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
|
||||
def _is_multiple(component):
|
||||
"""Checks if a component (optimizer, model, etc) is not singular."""
|
||||
return isinstance(component, collections.Iterable) and len(component) > 1
|
||||
|
||||
Reference in New Issue
Block a user