blob: 78aa3fef0e65ec9c8708436589716623314a609a [file] [log] [blame]
Jim Flynn4b2f3472021-10-13 21:20:07 +01001//
Ryan OShea3ad2e142023-01-13 10:19:20 +00002// Copyright © 2021, 2023 Arm Ltd and Contributors. All rights reserved.
Jim Flynn4b2f3472021-10-13 21:20:07 +01003// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include <armnn_delegate.hpp>
9
10namespace armnnDelegate
11{
12
13TfLiteStatus ValidateFloorOperator(DelegateData& delegateData,
14 TfLiteContext* tfLiteContext,
15 const armnn::TensorInfo& inputTensorInfo,
16 const armnn::TensorInfo& outputTensorInfo);
17
Ryan OShea3ad2e142023-01-13 10:19:20 +000018TfLiteStatus ValidateFusedActivationOperator(DelegateData& delegateData,
19 TfLiteContext* tfLiteContext,
20 const armnn::TensorInfo& inputInfo,
21 const armnn::TensorInfo& outputInfo,
22 TfLiteFusedActivation activationType);
23
Mike Kelly080d45d2023-11-10 17:11:53 +000024TfLiteNode* GetNodeConnectedToInput(TfLiteContext* tfLiteContext,
25 int32_t& connectedIndex,
26 int32_t inputIdx);
27
28bool WillInputBeOptimizedToConst(TfLiteContext* tfLiteContext, int32_t inputIdx);
29
Jim Flynn4b2f3472021-10-13 21:20:07 +010030} // namespace armnnDelegate
31