class
KnobChoice
PythonThe resolved value of one knob for one operator.
KnobChoice()The resolved value of one knob for one operator.
resolved_by agrees with requested: explicit means a value was
asked for and used as given (value equals requested); auto_table
and auto_heuristic mean requested is auto.
attribute
model_config
Pythonmodel_config = ConfigDict(json_schema_extra=_closed(_provenance_is_consistent))attribute
value
Pythonvalue: str = Field(..., description='The value used')attribute
requested
Pythonrequested: str = Field(..., description='The value asked for, possibly auto')attribute
resolved_by
Pythonresolved_by: Annotated[str, _Members('explicit', 'auto_table', 'auto_heuristic', 'plan')] = Field(..., description='explicit when a value was asked for; auto_table when auto chose it from the goal; auto_heuristic and plan are reserved')attribute
source
Pythonsource: KnobSourceattribute
approximate
Pythonapproximate: bool = Field(..., description="Whether the value changes numerics relative to the knob's default where it applies")