tidy3d.plugins.autograd.optimizers.ScalarConstraintChecker

tidy3d.plugins.autograd.optimizers.ScalarConstraintChecker#

class ScalarConstraintChecker[source]#

Bases: object

Adapt a scalar constraint function to the candidate-checker interface.

Attributes

Methods

check_candidates(candidates)

Check candidates lazily, one at a time.

check_fn#
check_candidates(candidates)[source]#

Check candidates lazily, one at a time.