class Optimizer(*, cross_entropy_initializer=None, cmaes_initializer=None, gaussian_process_initializer=None, simulated_annealing_initializer=None, neural_network_initializer=None, state=None)

The optimizer to use in the optimization. Exactly one field must be non-null. For the first step of the optimizer, this must be an initializer, such as a CrossEntropyInitializer. For subsequent steps, you need to provide the state returned in the Result of the previous step, which already contains the optimizer configuration and previous test points.