[RFC] A general task extraction mechanism for auto_scheduler

I’m not super familiar with autotvm and auto scheduling, but I’ve got a couple questions:

  1. What is the interaction between autoscheduler and autotvm in the future. Will we be unifying the user api for autotvm and auto scheduling? Can you mix auto scheduling and autotvm?
  2. Why is the GraphRuntimeCodegen responsible for extracting tasks? Couldn’t we just do it in a pass?