hello. i’m freash user of TVM
TVM can insert custom lower pass by using tvm.build_config( add_lower_pass = blah balh ) before build specific target devcie module.
as menthioned in https://docs.tvm.ai/tutorials/dev/low_level_custom_pass.html
and TVM support autotvm to tune each layer by using autotvm.task.extract_from_program function.
Below is the code I wrote.
Briefly, the ConvTuner accepts the tasks and tune each conv2d layer.
in ConvTuner function, tsk has a config space as shown in below picture.
i want to insert my custom add_lower_pass and before build network.
for example…
What I want is that each conv2d layer wants to be optimized at build time through a custom ir pass I created.
Is there an example or way to do this?