|
|
@ -38,25 +38,26 @@ Based on this protocol, the list of Caffe OPs supported by RKNN Toolkit2 Version |
|
|
|
|
|
|
|
|
|
|
|
| **Operators** | **Remarks** | |
|
|
|
| **Operators** | **Remarks** | |
|
|
|
| -------------------- | ----------- | |
|
|
|
| -------------------- | ----------- | |
|
|
|
| BatchNorm |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]| |
|
|
|
| BatchNorm |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]| |
|
|
|
| bn (BatchNorm + Scale) |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]<br /> according to https://github.com/TimoSaemann/caffe-segnet-cudnn5| |
|
|
|
| bn (BatchNorm + Scale) |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]<br /> according to https://github.com/TimoSaemann/caffe-segnet-cudnn5| |
|
|
|
| BNLL || |
|
|
|
| BNLL || |
|
|
|
| Concat |axis: 1,2,3| |
|
|
|
| Concat |axis: 1,2,3| |
|
|
|
| Convolution |channel: [1, 8192]<br />kernel height/width: [1, 31]<br />stride height/width: [1, 7]<br />kernels: [1, 8184]<br />pad left/right/top/bottom: [0, 15]<br />group: 1, channel / N <br /><br />| |
|
|
|
| Convolution |channel: [1, 8192]<br />kernel height/width: [1, 31]<br />stride height/width: [1, 7]<br />kernels: [1, 8184]<br />pad left/right/top/bottom: [0, 15]<br />group: 1, channel / N <br /><br />| |
|
|
|
| ConvolutionDepthwise |channel:[1, 8192]<br />kernel height/width: [1, 8]<br />stride height/width: [1, 7]<br />kernels: 1<br />pad left/right/top/bottom: [0, 15]| |
|
|
|
| ConvolutionDepthwise|channel:[1, 8192]<br />kernel height/width: [1, 8]<br />stride height/width: [1, 7]<br />kernels: 1<br />pad left/right/top/bottom: [0, 15]| |
|
|
|
| Crop || |
|
|
|
| Crop || |
|
|
|
| Deconvolution |channel: [1, 8192]<br />kernel height/width: [1, 31]<br />stride height/width: 2, 4, 8<br />kernels: [1, 8192]<br />pad left/right/top/bottom: [0, 15]| |
|
|
|
| Deconvolution |channel: [1, 8192]<br />kernel height/width: [1, 31]<br />stride height/width: 2, 4, 8<br />kernels: [1, 8192]<br />pad left/right/top/bottom: [0, 15]| |
|
|
|
| Dropout || |
|
|
|
| Dropout || |
|
|
|
| Eltwise |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]<br />support broadcast rule: per-layer/channel/element| |
|
|
|
| Eltwise |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]<br />support broadcast rule: per-layer/channel/element| |
|
|
|
| Flatten || |
|
|
|
| Flatten || |
|
|
|
| InnerProduct |channel: [1, 8192]| |
|
|
|
| InnerProduct |channel: [1, 8192]| |
|
|
|
| LRN || |
|
|
|
| LRN || |
|
|
|
| Normalize |dims: 4| |
|
|
|
| Normalize || |
|
|
|
| Permute || |
|
|
|
| Permute || |
|
|
|
| Pooling | **AveragePool**:<br />channel: [1, 8192]<br />kernel height/width: [1, 7]<br />stride height/width: [1, 8]<br />pad left/right/top/bottom: [0, 7]<br /><br />**GlobalAveragePool**:<br />channel: [1, 8192]<br />kernel height/width: [1, 128]<br />stride height/width: [1, 8]<br />pad left/right/top/bottom: [0, 7] <br /><br />**MaxPool/GlobalMaxPool**:<br />channel: [1, 8192]<br />kernel height/width: [1, 7]<br />stride height/width: [1, 8]<br />pad left/right/top/bottom: [0, 7]<br /><br />**MaxPool**: <br />auto_pad only support NOTSET,ceil_mode only support 0,unsupport dilations | |
|
|
|
| Power || |
|
|
|
|
|
|
|
| Pooling | **AveragePool**:<br />channel: [1, 8192]<br />kernel height/width: [1, 7]<br />stride height/width: [1, 8]<br />pad left/right/top/bottom: [0, 7]<br /><br />**GlobalAveragePool**:<br />channel: [1, 8192]<br />kernel height/width: [1, 128]<br />stride height/width: [1, 8]<br />pad left/right/top/bottom: [0, 7] <br /><br />**MaxPool/GlobalMaxPool**:<br />channel: [1, 8192]<br />kernel height/width: [1, 7]<br />stride height/width: [1, 8]<br />pad left/right/top/bottom: [0, 7]<br /><br />**MaxPool**: <br />auto_pad only support NOTSET,ceil_mode only support 0,unsupport dilations | |
|
|
|
| PRelu |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]<br />slope: per-layer/channel| |
|
|
|
| PRelu |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]<br />slope: per-layer/channel| |
|
|
|
| Proposal |batch: 1| |
|
|
|
| Proposal |batch: 1| |
|
|
|
| Reduction |output dims <= 4| |
|
|
|
| Reduction |output dims <= 4| |
|
|
|
| Relu |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]| |
|
|
|
| Relu |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]| |
|
|
|
| Relu6 |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]| |
|
|
|
| Relu6 |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]| |
|
|
|
| Reorg || |
|
|
|
| Reorg || |
|
|
@ -66,10 +67,11 @@ Based on this protocol, the list of Caffe OPs supported by RKNN Toolkit2 Version |
|
|
|
| ROIPooling |according to https://github.com/twmht/caffe-pva-faster-rcnn| |
|
|
|
| ROIPooling |according to https://github.com/twmht/caffe-pva-faster-rcnn| |
|
|
|
| Scale |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]| |
|
|
|
| Scale |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]| |
|
|
|
| Sigmoid |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]| |
|
|
|
| Sigmoid |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]| |
|
|
|
| Slice || |
|
|
|
| Slice || |
|
|
|
| Softmax || |
|
|
|
| Softmax || |
|
|
|
| Split || |
|
|
|
| Split || |
|
|
|
| TanH |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]| |
|
|
|
| TanH |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]| |
|
|
|
|
|
|
|
| Tile || |
|
|
|
| Transpose || |
|
|
|
| Transpose || |
|
|
|
| Upsample |according to https://github.com/SeanQ88/caffe_upsample and https://github.com/TimoSaemann/caffe-segnet-cudnn5| |
|
|
|
| Upsample |according to https://github.com/SeanQ88/caffe_upsample and https://github.com/TimoSaemann/caffe-segnet-cudnn5| |
|
|
|
|
|
|
|
|
|
|
@ -88,22 +90,25 @@ The list of ONNX OPs supported by RKNN Toolkit2 Version 0.6.0 is as follows: |
|
|
|
| Conv |channel: [1, 8192]<br />kernel height/width: [1, 31]<br />stride height/width: [1, 7]<br />kernels: [1, 8184]<br />pad left/right/top/bottom: [0, 15]<br />dilation: [1, 31]<br />group: 1, channel / N| |
|
|
|
| Conv |channel: [1, 8192]<br />kernel height/width: [1, 31]<br />stride height/width: [1, 7]<br />kernels: [1, 8184]<br />pad left/right/top/bottom: [0, 15]<br />dilation: [1, 31]<br />group: 1, channel / N| |
|
|
|
| ConvTranspose |channel: [1, 8192]<br />kernel height/width: [1, 31]<br />stride height/width: 2, 4, 8<br />kernels: [1, 8192]<br />pad left/right/top/bottom: [0, 15]<br />dilation: [1, 31]<br />group: 1, channel / N| |
|
|
|
| ConvTranspose |channel: [1, 8192]<br />kernel height/width: [1, 31]<br />stride height/width: 2, 4, 8<br />kernels: [1, 8192]<br />pad left/right/top/bottom: [0, 15]<br />dilation: [1, 31]<br />group: 1, channel / N| |
|
|
|
| DepthToSpace || |
|
|
|
| DepthToSpace || |
|
|
|
| Div |support broadcast rule: per-element/other| |
|
|
|
| Div |support broadcast rule: per-element/other| |
|
|
|
| Flatten || |
|
|
|
| Flatten || |
|
|
|
| Gemm |channel: [1, 8192]<br /> One input should be Const| |
|
|
|
| Gemm |channel: [1, 8192]<br /> One input should be Const| |
|
|
|
| GlobalAveragePool |channel: [1, 8192]<br />kernel height/width: [1, 128]<br />stride height/width: [1, 8]<br />pad left/right/top/bottom: [0, 7]| |
|
|
|
| GlobalAveragePool |channel: [1, 8192]<br />kernel height/width: [1, 128]<br />stride height/width: [1, 8]<br />pad left/right/top/bottom: [0, 7]| |
|
|
|
| GlobalMaxPool |channel: [1, 8192]<br />kernel height/width: [1, 7]<br />stride height/width: [1, 8]<br />pad left/right/top/bottom: [0, 7]| |
|
|
|
| GlobalMaxPool |channel: [1, 8192]<br />kernel height/width: [1, 7]<br />stride height/width: [1, 8]<br />pad left/right/top/bottom: [0, 7]| |
|
|
|
| Greater |support broadcast rule: per-element/other| |
|
|
|
| Greater |support broadcast rule: per-element/other| |
|
|
|
|
|
|
|
| HardSigmoid || |
|
|
|
| LeakyRelu |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]| |
|
|
|
| LeakyRelu |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]| |
|
|
|
| Less |support broadcast rule: per-element/other| |
|
|
|
| Less |support broadcast rule: per-element/other| |
|
|
|
| LpNormalization |dims: 4| |
|
|
|
| LpNormalization || |
|
|
|
| LRN || |
|
|
|
| LRN || |
|
|
|
| MatMul |channel: [1, 8192]<br />dims: 2| |
|
|
|
| MatMul |channel: [1, 8192]<br />dims: 2| |
|
|
|
| MaxPool |channel: [1, 8192]<br />kernel height/width: [1, 7]<br />stride height/width: [1, 8]<br />pad left/right/top/bottom: [0, 7]<br />auto_pad only support NOTSET,ceil_mode only support 0,unsupport dilations| |
|
|
|
| Max |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]<br /> dims=4| |
|
|
|
|
|
|
|
| MaxPool |channel: [1, 8192]<br />kernel height/width: [1, 7]<br />stride height/width: [1, 8]<br />pad left/right/top/bottom: [0, 7]<br />auto_pad only support NOTSET,ceil_mode only support 0,unsupport dilations| |
|
|
|
| MaxRoiPool || |
|
|
|
| MaxRoiPool || |
|
|
|
| MaxUnpool |unsupport pad| |
|
|
|
| MaxUnpool |unsupport pad| |
|
|
|
| Mul |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]<br />support broadcast rule: per-layer/channel/element| |
|
|
|
| Mul |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]<br />support broadcast rule: per-layer/channel/element| |
|
|
|
| Pad |pad value should >= 0; pad dims must be 2 when mode is reflect or edge| |
|
|
|
| Pad |pad value should >= 0; pad dims must be 2 when mode is reflect or edge| |
|
|
|
|
|
|
|
| Pow || |
|
|
|
| PRelu |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]<br />slope support broadcast rule:: per-layer/channel| |
|
|
|
| PRelu |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]<br />slope support broadcast rule:: per-layer/channel| |
|
|
|
| ReduceMean |output dims <= 4| |
|
|
|
| ReduceMean |output dims <= 4| |
|
|
|
| ReduceSum |output dims <= 4| |
|
|
|
| ReduceSum |output dims <= 4| |
|
|
@ -118,6 +123,7 @@ The list of ONNX OPs supported by RKNN Toolkit2 Version 0.6.0 is as follows: |
|
|
|
| Split || |
|
|
|
| Split || |
|
|
|
| Squeeze || |
|
|
|
| Squeeze || |
|
|
|
| Tanh |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]| |
|
|
|
| Tanh |channel: [1, 8192]<br />height: [1, 8192]<br />width: [1, 8176]| |
|
|
|
|
|
|
|
| Tile || |
|
|
|
| Transpose || |
|
|
|
| Transpose || |
|
|
|
| Upsample (resize) || | |
|
|
|
| Upsample (resize) || | |
|
|
|
|
|
|
|
|