Skip to content

Commit 98128a2

Browse files
committed
Add docstr
1 parent b9aea37 commit 98128a2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sharktuner/sharktuner/candidate_ordering.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ def reorder_assignments(
112112

113113
@dataclass
114114
class TuningRecord:
115+
"""
116+
Records a candidate's knob configuration and tuning results. Used for analyzing the
117+
candidate search space and evaluating the effectiveness of heuristics used for
118+
candidate ordering.
119+
"""
120+
115121
gen_id: int # Original index from candidate generation.
116122
candidate_id: int # Index in candidate_trackers after sorting.
117123
knob: Optional[common.KnobAssignment] = None

0 commit comments

Comments
 (0)