sample all the data in ReplayBuffer (for on-policy) :return torch.Tensor reward: reward.shape==(now_len, 1) :return torch.Tensor mask: mask.shape ==(now_len, 1), mask = 0.0 if done else gamma :return torch.Tensor action: action.shape==(now_len, action_dim) :r
(self)
source not stored for this graph (policy: none)