l5kit.random package

class l5kit.random.GaussianRandomGenerator(mean: numpy.ndarray, std: numpy.ndarray)

Bases: object

GaussianRandomGenerator generates values by sampling from a normal distribution with specified mean and standard deviation. Note that this gaussian can be multidimensional.

class l5kit.random.LambdaRandomGenerator(sampling_function: Callable[numpy.ndarray])

Bases: object

LambdaRandomGenerator generates values by calling the supplied function. Note that instead of this you could also just use this supplied function itself.

class l5kit.random.ReplayRandomGenerator(values: numpy.ndarray)

Bases: object

ReplayRandomGenerator generates values by sequentially returning the values in the supplied array. It does not loop or reset automatically.