l5kit.random.random_generator module¶
-
class
l5kit.random.random_generator.
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.random_generator.
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.random_generator.
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.