junrushao1994 commented on code in PR #11641:
URL: https://github.com/apache/tvm/pull/11641#discussion_r893699486


##########
src/meta_schedule/search_strategy/evolutionary_search.cc:
##########
@@ -719,9 +719,36 @@ class EvolutionarySearch : public SearchStrategy {
                                                     EvolutionarySearchNode);
 };
 
+Array<Schedule> EvolutionarySearchSampleInitPopulation(ObjectRef _self, int 
num) {
+  const EvolutionarySearchNode* self = _self.as<EvolutionarySearchNode>();

Review Comment:
   I added the `EvolutionarySearch` class in the latest PR so you may use it 
directly now
   
   ```suggestion
   Array<Schedule> EvolutionarySearchSampleInitPopulation(EvolutionarySearch 
self, int num) {
   ```



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to