@ -38,25 +38,26 @@ Based on this protocol, the list of Caffe OPs supported by RKNN Toolkit2 Version
@@ -38,25 +38,26 @@ Based on this protocol, the list of Caffe OPs supported by RKNN Toolkit2 Version
| **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|
| BNLL ||
| 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 / > |
| 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 ||
| 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]|
| BNLL ||
| 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 / > |
| 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 ||
| 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 ||
| Eltwise |channel: [1, 8192]< br / > height: [1, 8192]< br / > width: [1, 8176]< br / > support broadcast rule: per-layer/channel/element|
| Flatten ||
| InnerProduct |channel: [1, 8192]|
| LRN ||
| Normalize |dims: 4 |
| InnerProduct |channel: [1, 8192]|
| LRN ||
| Normalize | |
| 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|
| Proposal |batch: 1|
| Reduction |output dims < = 4|
| Proposal |batch: 1|
| Reduction |output dims < = 4|
| Relu |channel: [1, 8192]< br / > height: [1, 8192]< br / > width: [1, 8176]|
| Relu6 |channel: [1, 8192]< br / > height: [1, 8192]< br / > width: [1, 8176]|
| Reorg ||
@ -66,10 +67,11 @@ Based on this protocol, the list of Caffe OPs supported by RKNN Toolkit2 Version
@@ -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|
| Scale |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 ||
| Split ||
| TanH |channel: [1, 8192]< br / > height: [1, 8192]< br / > width: [1, 8176]|
| Tile ||
| Transpose ||
| 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:
@@ -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|
| 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 ||
| Div |support broadcast rule: per-element/other|
| Div |support broadcast rule: per-element/other|
| Flatten ||
| 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]|
| 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|
| HardSigmoid ||
| LeakyRelu |channel: [1, 8192]< br / > height: [1, 8192]< br / > width: [1, 8176]|
| Less |support broadcast rule: per-element/other|
| LpNormalization |dims: 4 |
| LpNormalization ||
| LRN ||
| 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 ||
| MaxUnpool |unsupport pad|
| 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|
| Pow ||
| PRelu |channel: [1, 8192]< br / > height: [1, 8192]< br / > width: [1, 8176]< br / > slope support broadcast rule:: per-layer/channel|
| ReduceMean |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:
@@ -118,6 +123,7 @@ The list of ONNX OPs supported by RKNN Toolkit2 Version 0.6.0 is as follows:
| Split ||
| Squeeze ||
| Tanh |channel: [1, 8192]< br / > height: [1, 8192]< br / > width: [1, 8176]|
| Tile ||
| Transpose ||
| Upsample (resize) || |