sample

Contents

sample#

hybrid_aif.train.sample(buffer, key, batch_size)[source]#

A uniform batch of whole sequences: leaves (batch_size, seq_len, ...).

Samples with replacement over the live slots. An empty buffer draws slot 0, so guard with StaticBuffer.ready().