This is follow-up work to #1799. Now that we have merged an initial version of the Relay evaluator and runtime system in #1954 it is possible to use Relay for end-to-end inference, and optimization.
In order to do so we need to add attributes to the existing operators so that they may be correctly lowered to TVM.
General Steps of Porting
In order to enable lowering of an operator we need to add both a scheduling and compute primitive.
#2050 shows an example for all of the ops in tensor.py
The List
The List
Level 1: Common Basic Ops
Level 2: Convolutions
Level 3: Additional Math And Transform Operators
Level 4: All broadcast and reduction functions that are not in previous level
Level 5: Vision Operators
This is follow-up work to #1799. Now that we have merged an initial version of the Relay evaluator and runtime system in #1954 it is possible to use Relay for end-to-end inference, and optimization.
In order to do so we need to add attributes to the existing operators so that they may be correctly lowered to TVM.
General Steps of Porting
In order to enable lowering of an operator we need to add both a scheduling and compute primitive.
#2050 shows an example for all of the ops in
tensor.pyThe List
The List
Level 1: Common Basic Ops
Level 2: Convolutions
Level 3: Additional Math And Transform Operators
Level 4: All broadcast and reduction functions that are not in previous level
Level 5: Vision Operators