WarmupOutcome#

class liesel.goose.kernel.WarmupOutcome(error_code, kernel_state)[source]#

Bases: Generic[liesel.goose.types.TKernelState]

A dataclass for the return value of the kernel method Kernel.end_warmup(). Different kernels can use different types of KernelState’s.

Attributes

error_code

Error code for the transition.

kernel_state

A kernel state object, see DAKernelState.