concepts.dm.pdsketch.csp_solvers.brute_force_sampling.expand_continuous_values_#
- expand_continuous_values_(executor, current, nr_samples=5)[source]#
Internal function used by
generate_continuous_values()
. Given the current set of continuous values, it tries to apply all generators using current values as their input. It inplace updates the current dictionary. with the new values.- Parameters:
executor (PDSketchExecutor) – a pdsketch expression executor.
current (Dict[str, List[TensorValue]]) – the current continuous values.
nr_samples (int) – the number of samples for each generator.