| 880 | } |
| 881 | |
| 882 | TfLiteStatus VisitConvolutionOperator(DelegateData& delegateData, |
| 883 | TfLiteContext* tfLiteContext, |
| 884 | TfLiteNode* tfLiteNode, |
| 885 | int nodeIndex, |
| 886 | int32_t operatorCode) |
| 887 | { |
| 888 | switch(operatorCode) |
| 889 | { |
| 890 | case kTfLiteBuiltinConv2d: |
| 891 | return VisitConv2dOperator(delegateData, tfLiteContext, tfLiteNode, nodeIndex, operatorCode); |
| 892 | // Conv3d is only correctly supported for external delegates from TF Lite v2.6, as there was a breaking bug in v2.5. |
| 893 | #if defined(ARMNN_POST_TFLITE_2_5) |
| 894 | case kTfLiteBuiltinConv3d: |
| 895 | return VisitConv3dOperator(delegateData, tfLiteContext, tfLiteNode, nodeIndex, operatorCode); |
| 896 | #endif |
| 897 | case kTfLiteBuiltinDepthwiseConv2d: |
| 898 | return VisitDepthwiseConv2dOperator(delegateData, tfLiteContext, tfLiteNode, nodeIndex, operatorCode); |
| 899 | case kTfLiteBuiltinTransposeConv: |
| 900 | return VisitTransposeConv2dOperator(delegateData, tfLiteContext, tfLiteNode, nodeIndex, operatorCode); |
| 901 | default: |
| 902 | return kTfLiteError; |
| 903 | } |
| 904 | } |
| 905 | |
| 906 | } // namespace armnnDelegate |
no test coverage detected