merrymercy commented on a change in pull request #6663:
URL: https://github.com/apache/incubator-tvm/pull/6663#discussion_r507185078
##########
File path: src/auto_scheduler/search_policy/sketch_policy.cc
##########
@@ -218,15 +218,45 @@ State SketchPolicyNode::Search(int n_trials, int
early_stopping, int num_measure
}
}
-Array<State> SketchPolicyNode::SearchOneRound(int num_random_states,
Array<State>* random_states) {
- // Temporal object to be used if the input pointer is nullptr
- Array<State> temp_random_states;
- if (random_states == nullptr) {
- random_states = &temp_random_states;
- } else {
- random_states->clear();
+std::pair<Array<MeasureInput>, Array<MeasureResult>>
SketchPolicyNode::ContinueSearchOneRound(
Review comment:
I still prefer the current names.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]