WorldBatch#
- class hybrid_aif.train.WorldBatch[source]#
Bases:
NamedTupleA batch of replay sequences, all shapes static.
- is_first: Array | None#
Where an episode begins inside a sequence,
(B, T); the recurrent carry restarts there. Episode-aligned batches may leave itNone.
- static __new__(_cls, obs, action, reward, cont, is_first=None)#
Create new instance of WorldBatch(obs, action, reward, cont, is_first)