Optimizer.gradient_func

Optimizer.gradient_func(grad_f, topology, tmax, eta, step_size)[source]

The objective function to calculate gradients from.