MCPcopy Create free account
hub / github.com/ARM-software/armnn / VisitConvolutionOperator

Function VisitConvolutionOperator

delegate/classic/src/Convolution.hpp:882–904  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

880}
881
882TfLiteStatus 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

Callers 1

VisitNodeMethod · 0.70

Calls 4

VisitConv2dOperatorFunction · 0.70
VisitConv3dOperatorFunction · 0.70

Tested by

no test coverage detected