[RELAY][OP] Relay Op Sprint (Part 2)
See original GitHub issueThis 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
- nn.dense
- nn.relu
- tanh
- sigmoid
- exp
- log
- sqrt
- add
- subtract
- multiply
- divide
- mod
- nn.batch_flatten
- concatenate
- nn.softmax
- nn.log_softmax
- nn.batch_norm
- nn.dropout
- expand_dims
Level 2: Convolutions
- nn.conv2d
- nn.conv2d_transpose
- nn.max_pool2d
- nn.avg_pool2d
- nn.global_max_pool2d
- nn.global_avg_pool2d
- nn.pad
- nn.lrn
Level 3: Additional Math And Transform Operators
- reshape
- copy
- negative
- floor
- ceil
- round
- trunc
- clip
- abs
- leaky_relu
- tranpose
- split
- squeeze
- take
- full
- zeros
- ones
- transpose
- zeros_like
- ones_like
Level 4: All broadcast and reduction functions that are not in previous level
- pow
- less
- greater
- less_than
- greater_than
- right_shift
- left_shift
- maximum
- minimum
- sum
- max
- prod
- argmax, argmin
- strided_slice
- broadcast_to
- where
Level 5: Vision Operators
- image.resize
- vision.multibox_prior
- vision.nms
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Relayops
Click below for instructions on how to set up your Relay app. Install for Android · Install for IPhone · How to set...
Read more >Daggett-Sprint Relays - Ngin
FULL SPEED THROUGH THE ZONE. FOLLOW OUT OF THE EXCHANGE ZONE. IF YOU LEARN TO SLOW DOWN RIGHT AFTER. THE HANDOFF, YOU'LL START...
Read more >Find a Relay - Peak to Brew Relay
Peak 2 Brew (P2B) offers 2 different types of Team Running Relays: ... The P2B SPRINT Relay Series provides all levels of runners...
Read more >OrNetStats - Nusenu
Relays are aggregated based on effective families. Effective families are relays with a mutually configured MyFamily setting. Single relays (without family) ...
Read more >WOC 2014 Sprint Relay - YouTube
World Orienteering Championships 2014 - Sprint RelayTrento, ItalyAll rights belong to International Orienteering Federation.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kevinthesun @masahi Yes I’m working on it. ref https://discuss.tvm.ai/t/datalayout-structure/80
BTW sorry for mess up the edit history, my edition has been reverted. @jroesch
Thanks to everyone’s effort, most of the ops are now supported. Let us open new threads to catch the remaining outliers when necessary