mirror of
https://github.com/wassname/ray.git
synced 2026-08-15 12:45:23 +08:00
ci: Redo format.sh --all script & backfill lint fixes (#9956)
This commit is contained in:
@@ -27,6 +27,7 @@ def to_float_array(v: List[Any]) -> np.ndarray:
|
||||
|
||||
# TODO(sven): Remove the following class once we switch to trajectory view API.
|
||||
|
||||
|
||||
@PublicAPI
|
||||
class SampleBatchBuilder:
|
||||
"""Util to build a SampleBatch incrementally.
|
||||
@@ -76,6 +77,7 @@ class SampleBatchBuilder:
|
||||
|
||||
# TODO(sven): Remove the following class once we switch to trajectory view API.
|
||||
|
||||
|
||||
@DeveloperAPI
|
||||
class MultiAgentSampleBatchBuilder:
|
||||
"""Util to build SampleBatches for each policy in a multi-agent env.
|
||||
|
||||
Reference in New Issue
Block a user