as_episode

Contents

as_episode#

hybrid_aif.train.as_episode(columns)[source]#

A ReplayBuffer episode dict → an Episode.

obs and action are required; reward defaults to zeros, cont to ones, is_first/is_last to the first and last row. Every other column becomes a task column in extras, with the dtype it arrived in.