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