Skip to content

BucketSelectionWeight ​

python
BucketSelectionWeight(key: RestartKey, weight: float, share: float) -> None

How likely one bucket is to be drawn for the next restart.

Source

Values ​

key ​

python
key: RestartKey

Source

share ​

python
share: float

The bucket's probability of being drawn, that is its weight over the total.

Source

weight ​

python
weight: float

The bucket's unnormalised weight.

Source