| 16 | { |
| 17 | |
| 18 | TfLiteStatus ValidateFloorOperator(DelegateData& delegateData, |
| 19 | TfLiteContext* tfLiteContext, |
| 20 | const armnn::TensorInfo& inputTensorInfo, |
| 21 | const armnn::TensorInfo& outputTensorInfo) |
| 22 | { |
| 23 | bool isSupported = false; |
| 24 | auto validateFunc = [&](const armnn::TensorInfo& outInfo, bool& isSupported) |
| 25 | { |
| 26 | FORWARD_LAYER_SUPPORT_FUNC("FLOOR", |
| 27 | tfLiteContext, |
| 28 | IsFloorSupported, |
| 29 | delegateData.m_Backends, |
| 30 | isSupported, |
| 31 | armnn::BackendId(), |
| 32 | inputTensorInfo, |
| 33 | outInfo); |
| 34 | }; |
| 35 | validateFunc(outputTensorInfo, isSupported); |
| 36 | return isSupported ? kTfLiteOk : kTfLiteError; |
| 37 | } |
| 38 | |
| 39 | TfLiteStatus ValidateFusedActivationOperator(DelegateData& delegateData, |
| 40 | TfLiteContext* tfLiteContext, |
no test coverage detected