MCPcopy Index your code
hub / github.com/OpenDriveLab/TCP / PpoBufferSamples

Class PpoBufferSamples

roach/models/ppo_buffer.py:23–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22
23class PpoBufferSamples(NamedTuple):
24 observations: Dict[str, th.Tensor]
25 actions: th.Tensor
26 old_values: th.Tensor
27 old_log_prob: th.Tensor
28 old_mu: th.Tensor
29 old_sigma: th.Tensor
30 advantages: th.Tensor
31 returns: th.Tensor
32 exploration_suggests: List[tuple]
33
34
35class PpoBuffer():

Callers 1

_get_samplesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected