xref: /aosp_15_r20/external/armnn/delegate/classic/src/SharedFunctions.hpp (revision 89c4ff92f2867872bb9e2354d150bf0c8c502810)
1 //
2 // Copyright © 2021, 2023 Arm Ltd and Contributors. All rights reserved.
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 
18 TfLiteStatus ValidateFusedActivationOperator(DelegateData& delegateData,
19                                              TfLiteContext* tfLiteContext,
20                                              const armnn::TensorInfo& inputInfo,
21                                              const armnn::TensorInfo& outputInfo,
22                                              TfLiteFusedActivation activationType);
23 
24 } // namespace armnnDelegate
25 
26