distl.get_random_seed (function)


def get_random_seed()

Return a random seed which can be passed to BaseDistribution.sample.

This allows for using a consistent/reproducible but still random seed instead of manually passing some arbitrary integer (like 1234).

Returns