- class liesel.goose.types.QuantityGenerator(*args, **kwargs)#
Protocol for a class that calculates a quantity based on the model state and a random seed.
generate(prng_key, model_state, epoch)
Generates a new quantity based on the model and PRNG state.
True, if a model has been set with
Sets a model.