Validation#

The following functions are used to validate that the user-supplied inputs are compatible with our synthesis objects.

validate_model

Determine whether model can be used for synthesis.

validate_input

Determine whether input_tensor can be used for synthesis.

validate_metric

Determine whether a metric can be used for MADCompetition synthesis.

validate_coarse_to_fine

Determine whether a model can be used for coarse-to-fine synthesis.

validate_convert_tensor_dict

Determine if a model can properly convert between tensor and dict representations.

validate_penalty

Determine whether penalty_function can be used for regularization in synthesis.