[RLlib] Remove SampleBatch._get_slice_indices() deprecated logging spam (moderate). (#17567)

This commit is contained in:
Sven Mika 2021-08-04 04:21:32 -04:00 committed by GitHub
parent 8393b9add8
commit b539560429
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -672,8 +672,8 @@ class SampleBatch(dict):
_time_major=self.time_major,
)
@Deprecated(error=False)
def _get_slice_indices(self, slice_size):
deprecation_warning("SampleBatch._get_slice_indices", error=False)
data_slices = []
data_slices_states = []
if self.get("seq_lens") is not None and len(self["seq_lens"]) > 0: