[RLlib] Issue 21340: SampleBatch __init__ docstring wrong. (#21447)

This commit is contained in:
Sven Mika 2022-01-07 15:48:14 +01:00 committed by GitHub
parent 83955a9407
commit 3a3d0a4a2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ class SampleBatch(dict):
_time_major (Optional[bool]): Whether data in this sample batch
is time-major. This is False by default and only relevant
if the data contains sequences.
_max_seq_len (Optional[bool]): The max sequence chunk length
_max_seq_len (Optional[int]): The max sequence chunk length
if the data contains sequences.
_zero_padded (Optional[bool]): Whether the data in this batch
contains sequences AND these sequences are right-zero-padded