[TOPI] Initial NHWC layout support (#882)
* add 4 dim softmax * update for NHWC layout * remove layout param from softmax * fix typo * minor fix to pool support axis=1 ndims=5 softmax. add softmax axis * few fix for softmax * fix typo * add more doc * minor doc fix * fix upsampling output shape * fix lint * cleanup softmax * minor fix * raise exception instead of assert, handles negative axis * check axis after axis transformation
Showing
- topi/python/topi/nn/conv2d.py 2 additions, 0 deletionstopi/python/topi/nn/conv2d.py
- topi/python/topi/nn/pooling.py 117 additions, 1 deletiontopi/python/topi/nn/pooling.py
- topi/python/topi/nn/softmax.py 35 additions, 12 deletionstopi/python/topi/nn/softmax.py
- topi/python/topi/nn/upsampling.py 52 additions, 1 deletiontopi/python/topi/nn/upsampling.py
Please register or sign in to comment