2298f6fb40cb6d348b5b48593c93cdd58ddd1f29,rllib/execution/replay_ops.py,StoreToReplayBuffer,__call__,#StoreToReplayBuffer#Any#,33
Before Change
row["actions"],
row["rewards"],
pack_if_needed(row["new_obs"]),
row["dones"],
weight=None)
return batch
After Change
self.replay_actors = actors
def __call__(self, batch: SampleBatchType):
if self.local_actor:
self.local_actor.add_batch(batch)
else:
actor = random.choice(self.replay_actors)
actor.add_batch.remote(batch)
return batch
def Replay(*,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: ray-project/ray
Commit Name: 2298f6fb40cb6d348b5b48593c93cdd58ddd1f29
Time: 2020-04-23
Author: ekhliang@gmail.com
File Name: rllib/execution/replay_ops.py
Class Name: StoreToReplayBuffer
Method Name: __call__
Project Name: deepmipt/DeepPavlov
Commit Name: 89d58cff936536b94f74021635412650b56e22e5
Time: 2018-06-20
Author: dilyara.rimovna@gmail.com
File Name: deeppavlov/models/evolution/evolution_param_generator.py
Class Name: ParamsEvolution
Method Name: sample_params
Project Name: deepmipt/DeepPavlov
Commit Name: c3f62292951d971607561821d6cdd67bfe77fb27
Time: 2018-06-26
Author: dilyara.rimovna@gmail.com
File Name: deeppavlov/models/evolution/evolution_param_generator.py
Class Name: ParamsEvolution
Method Name: sample_params