I am learning about tvm optimization.
I am interested in opt_level with tvm.transform.PassContext(opt_level=3)
.
I have three questions.
- Could you tell me what optimization technique is used when
opt_level
is specified as 3? - If possible, could we use print to show optimization methods?
- Could you give me some advice when learning the optimization methods?
I have visualized the AlexNet computation graph to learn the optimization techniques.
I plan to understand graph optimization by focusing on visualizing computational graphs.
- I want to know the names of the methods used when the optimization level is specified.
I feel that multiple methods are used at each optimization level. - I will visualize the neural network graph using the
tvm.transform.Sequential
function specifies any optimization method. - I will find what optimization has been performed on the visualized neural network.
The following provides the environment in which I am experimenting.
- Reproducing with Docker container
docker run --name "visualize_tvm" -it hirohaku21/hirohaku_tvm:0.4q /bin/bash
- Confirming the code with Github
https://github.com/hirohaku21/TVMVisualize_AlexNet_Graph