ray.rllib.offline.offline_prelearner.OfflinePreLearner.__call__#
- OfflinePreLearner.__call__(batch: Dict[str, numpy.ndarray]) Dict[str, numpy.ndarray][source]#
Maps raw ingested data to episodes and runs the Learner pipeline.
- Parameters:
batch – A dictionary of numpy arrays where each numpy array represents a column of the dataset.
- Returns:
A flattened dict representing a batch that can be passed to
Learner.updatemethods.