comaniac commented on a change in pull request #6310:
URL: https://github.com/apache/incubator-tvm/pull/6310#discussion_r474264101
##########
File path: src/auto_scheduler/search_policy/sketch_policy_rules.h
##########
@@ -201,6 +201,26 @@ class InitVectorization : public InitPopulationRule {
ResultKind Apply(SketchPolicyNode* policy, State* state) const final;
};
+/********** Mutation **********/
+
+/*! \brief The base class for mutation rules used in the evolutionary search.
*/
+class MutationRule : public InitPopulationRule {
Review comment:
Please also take a look at `MutateComputeLocation` added by the latest
commit. The required functions is exactly the same as the one used in initial
population, so we should be able to make up a general rule that includes both
initial population and mutation.
----------------------------------------------------------------
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]