mirror of
https://github.com/wassname/DeepRL.git
synced 2026-09-11 11:53:01 +08:00
Upgrade DDPG
This commit is contained in:
@@ -120,6 +120,3 @@ class Batcher:
|
||||
indices = np.arange(self.num_entries)
|
||||
np.random.shuffle(indices)
|
||||
self.data = [d[indices] for d in self.data]
|
||||
|
||||
# def torch_max(tensor, dim):
|
||||
# return torch.max(tensor, dim=dim, keepdim=True)[0]
|
||||
|
||||
Reference in New Issue
Block a user