fit_length

Contents

fit_length#

hybrid_aif.train.fit_length(ep, seq_len, pad=None)[source]#

One episode at exactly seq_len steps: truncated, or padded by freezing.

Padding repeats the final observation and cont with zero action and zero reward; is_last marks the final stored step. Task columns pad by pad[name] ("hold" or "zero"; zeros when not given).