tidy3d.plugins.autograd.optimizers.BatchedConstraintChecker

tidy3d.plugins.autograd.optimizers.BatchedConstraintChecker#

class BatchedConstraintChecker[source]#

Bases: object

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

Attributes

Methods

check_candidates(candidates)

Materialize and check all candidates in one function call.

check_fn#
check_candidates(candidates)[source]#

Materialize and check all candidates in one function call.