Jim Flynn | 4b2f347 | 2021-10-13 21:20:07 +0100 | [diff] [blame] | 1 | // |
Ryan OShea | 3ad2e14 | 2023-01-13 10:19:20 +0000 | [diff] [blame] | 2 | // Copyright © 2021, 2023 Arm Ltd and Contributors. All rights reserved. |
Jim Flynn | 4b2f347 | 2021-10-13 21:20:07 +0100 | [diff] [blame] | 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include <armnn_delegate.hpp> |
| 9 | |
| 10 | namespace armnnDelegate |
| 11 | { |
| 12 | |
| 13 | TfLiteStatus ValidateFloorOperator(DelegateData& delegateData, |
| 14 | TfLiteContext* tfLiteContext, |
| 15 | const armnn::TensorInfo& inputTensorInfo, |
| 16 | const armnn::TensorInfo& outputTensorInfo); |
| 17 | |
Ryan OShea | 3ad2e14 | 2023-01-13 10:19:20 +0000 | [diff] [blame] | 18 | TfLiteStatus ValidateFusedActivationOperator(DelegateData& delegateData, |
| 19 | TfLiteContext* tfLiteContext, |
| 20 | const armnn::TensorInfo& inputInfo, |
| 21 | const armnn::TensorInfo& outputInfo, |
| 22 | TfLiteFusedActivation activationType); |
| 23 | |
Mike Kelly | 080d45d | 2023-11-10 17:11:53 +0000 | [diff] [blame] | 24 | TfLiteNode* GetNodeConnectedToInput(TfLiteContext* tfLiteContext, |
| 25 | int32_t& connectedIndex, |
| 26 | int32_t inputIdx); |
| 27 | |
| 28 | bool WillInputBeOptimizedToConst(TfLiteContext* tfLiteContext, int32_t inputIdx); |
| 29 | |
Jim Flynn | 4b2f347 | 2021-10-13 21:20:07 +0100 | [diff] [blame] | 30 | } // namespace armnnDelegate |
| 31 | |