MNN icon indicating copy to clipboard operation
MNN copied to clipboard

operation requirements

Open li-qing opened this issue 5 years ago • 105 comments

Known Op Requirements For TensorFlow

  • AddN
  • Equal (#42 )
  • SparseToDense (#42 )

Ops(TensorArrayxxx) is from tensorflow Detection postprocess API, which are not necessary to support, because DetectionPostProcess is supported.

  • ~~TensorArrayGatherV3 (#462)~~

  • ~~TensorArrayGatherV3 (#462)~~

  • ~~TensorArrayReadV3 (#462)~~

  • ~~TensorArrayScatterV3 (#462)~~

  • ~~TensorArraySizeV3 (#462)~~

  • ~~TensorArrayV3 (#462)~~

  • ~~TensorArrayWriteV3 (#462)~~

  • ~~Pad (@rkshuai, @563816752 / #120 )~~

  • ~~FusedBatchNorm (@RobertAuditore )~~

  • ~~ResizeBilinear+UInt8 (@WenguoLi )~~

  • MirrorPad (@alcaster )

  • OneHot (@alcaster )

  • ~~FakeQuantWithMinMaxVars (#146 @liguiyuan)~~

  • ~~FusedBatchNormV3 (@leo-nullptr)~~

  • ~~LeakyRelu (@KanaSukita)~~

  • ~~StrideSlice (@MaybeShewill-CV )~~

  • ~~Iterator/IteratorGetNext (@JiangtianPan )~~

  • ~~Merge (@jimdinunzio)~~

  • ~~ResizeBicubic (@jimdinunzio)~~

  • ~~Switch (@jimdinunzio)~~

  • ~~FusedPadConv2D (@jimdinunzio)~~

  • LogicalAnd (@JiangtianPan, @ChristineRYY)

  • LogicalOr (@ChristineRYY)

  • ~~flatten (@ChisenZhang )~~

  • ~~GRU Dense (@liziru )~~

Known Op Requirements For TensorFlow Lite

  • Mul (@valwang )
  • Transpose (@Teragump )
  • Fully_Connected (@Teragump )
  • LogisticTflite (@GrayRui )
  • AddV2 (@yinguobing)
  • SUB (@yinguobing)
  • RELU (@wikipedia2008)
  • Iterator/IteratorGetNext (@JiangtianPan )

Known Op Requirements For ONNX

  • ~~PRelu (#9 )~~
  • ~~LeakyReLU (@yizhaoyanbo, #144 @zhyj3038 )~~
  • Neg (@ChisenZhang )
  • ~~Mul (@563816752)~~
  • ~~ReLU6 (@563816752 )~~
  • ~~ELU (@MoonBunnyZZZ, @DHNicoles )~~
  • ~~ReduceMean (@alcaster )~~
  • ~~Slice (#144 @zhyj3038)~~
  • ~~Sigmoid (#144 @zhyj3038)~~
  • ~~ReduceSum (#144 @zhyj3038)~~
  • ~~Split (@doodoo0006 )~~
  • Expand (@leo-nullptr)
  • ~~MatMul (@leo-nullptr, #257 @BokyLiu, @liuwuliuyun )~~
  • MaxRoiPool (@92ypli)
  • ~~LSTM (@Cheneng)~~
  • ~~Pad (@yizhaoyanbo)~~
  • ~~Slice (@pfeatherstone)~~
  • ~~Cast (@pfeatherstone)~~
  • ~~ConvTranspose (@bobzhang123, @yizhaoyanbo)~~

Known Op Requirements For Caffe

  • route (@RobertAuditore)
  • power (@OOYueshenOO)
  • Upsample (@cyf518)

If you have any op requirements, you could write a comment to let us know, even if it's mentioned above. Please specify where the op comes from(Tensorflow, Caffe, or ONNX) like this:

Framework:
...

Not Supported OP:
...

li-qing avatar May 15 '19 13:05 li-qing

power op

CodingBoO avatar May 17 '19 03:05 CodingBoO

shuffle op

92ypli avatar May 17 '19 04:05 92ypli

Constant op

xiaohaipeng avatar May 17 '19 08:05 xiaohaipeng

Please specify where the op comes from(Tensorflow, Caffe, or ONNX) like this:

  • Not Supported OP: ...
  • Framework ...

czy2014hust avatar May 19 '19 08:05 czy2014hust

  • Not Supported OP:

pad clip LeakyReLU

  • Framework:

ONNX

yizhaoyanbo avatar May 21 '19 09:05 yizhaoyanbo

Not Supported OP: 18 Mul

Framework: TFLITE

valwang avatar May 24 '19 09:05 valwang

Not Supported OP: shufflenet

Framework: pytorch or onnx

92ypli avatar May 29 '19 15:05 92ypli

Not Supported OP: shufflenet

Framework: pytorch or onnx

ShuffleNet is a network not an op

li-qing avatar May 30 '19 06:05 li-qing

Sorry, my meaning is ShuffleChannel.

92ypli avatar May 30 '19 06:05 92ypli

Sorry, my meaning is ShuffleChannel.

ShuffleChannel is NOT a OP in pytorch、onnx or tensorflow! By the way tensorflow-shufflenet is tested. You can try.

czy2014hust avatar May 30 '19 06:05 czy2014hust

not support OP: Neg Framework: ONNX

ChisenZhang avatar Jun 03 '19 08:06 ChisenZhang

  • Not Supported OP:

pad

  • Framework:

tensorflow

rkshuai avatar Jun 03 '19 09:06 rkshuai

Not Supported OP: Transpose Fully_Connected

Framework: TensorFlow Lite

chienkan avatar Jun 03 '19 09:06 chienkan

Framework: onnx

Not Supported OP: Transpose

92ypli avatar Jun 11 '19 12:06 92ypli

Framework: Tensorflow

Not Supported OP: FusedBatchNorm

Framework: caffe

Not Supported OP: route (yolo2)

AddASecond avatar Jun 13 '19 11:06 AddASecond

Op Requirements For ONNX Mul ReLU6

563816752 avatar Jun 13 '19 15:06 563816752

Framework: onnx

Not Supported OP: Transpose

tanhui2975 avatar Jun 14 '19 03:06 tanhui2975

Not Supported OP: FusedBatchNormV3

Framework: Tensorflow

crj0322 avatar Jun 18 '19 04:06 crj0322

Not Supported OP: ResizeBilinear Uint8 quantized Mode

Error: Start to Convert Other Model Format To MNN Model... terminate called after throwing an instance of 'Error' what(): [16:44:02] /home/apuser/deeplearning/alibaba/MNN/tools/converter/source/tflite/ResizeBilinear.cpp:16: Check failed: !quantizedModel ==>

Framework: Tensorflow lite

WenguoLi avatar Jun 20 '19 09:06 WenguoLi

Framework: ONNX(pytorch)

Not Supported OP: ELU

MoonBunnyZZZ avatar Jun 24 '19 01:06 MoonBunnyZZZ

Framework: onnx

Not Supported OP: Transpose

kunyao2015 avatar Jul 02 '19 02:07 kunyao2015

@92ypli @tanhui2975 @kunyao2015 Transpose for ONNX is supported in latest commit.

li-qing avatar Jul 02 '19 10:07 li-qing

@yizhaoyanbo @563816752 Pad, Clip for ONNX are supported in latest commit.

li-qing avatar Jul 02 '19 10:07 li-qing

Not Supported OP: ReduceMean

Framework: ONNX(pytorch)

mchalecki avatar Jul 03 '19 14:07 mchalecki

Not Supported OP: MirrorPad, OneHot

Framework: Tensorflow

mchalecki avatar Jul 03 '19 14:07 mchalecki

Framework: TFLITE

Not Supported OP: LogisticTflite

Error: ./tools/coverter/source/tflite/LogisticTflite.cpp:15: Check failed: quantizedModel ==> LogisticTflite TODO(float)

GrayRui avatar Jul 05 '19 03:07 GrayRui

Framework: Pytorch --> ONNX

Not Supported OP: Permute, dims >= 5

xindongzhang avatar Jul 05 '19 04:07 xindongzhang

Frameword: tensorflow and tflite (object detection api)

Not Supported OP: concat, when using OpenCL as backend.

Specifically, we test mobilenet-ssd using MNN OpenCL. And there are "The Creator Don't support type 10, concat"

What's more, when the OpenCL-based inference finished, we get different results compared with CPU-based inference.

xindongzhang avatar Jul 08 '19 12:07 xindongzhang

Framework: onnx Not Supported OP: Split

doodoo0006 avatar Jul 22 '19 09:07 doodoo0006

Framework: TensorFlow

Not Supported OP: ELU

DHNicoles avatar Jul 26 '19 07:07 DHNicoles