ListEpochChain#

class liesel.goose.chain.ListEpochChain(epoch, apply_thinning=False)[source]#

Bases: ListChain[TPyTree]

Implements the EpochChain protocol with a list as storage.

Methods

append(chunk)

Applies thinning and appends a chunk to the chain.

get()

Returns all chunks combined into one pytree.

Attributes

epoch

Returns the associated EpochConfig.