blob: 78aa3fef0e65ec9c8708436589716623314a609a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
//
// Copyright © 2021, 2023 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include <armnn_delegate.hpp>
namespace armnnDelegate
{
TfLiteStatus ValidateFloorOperator(DelegateData& delegateData,
TfLiteContext* tfLiteContext,
const armnn::TensorInfo& inputTensorInfo,
const armnn::TensorInfo& outputTensorInfo);
TfLiteStatus ValidateFusedActivationOperator(DelegateData& delegateData,
TfLiteContext* tfLiteContext,
const armnn::TensorInfo& inputInfo,
const armnn::TensorInfo& outputInfo,
TfLiteFusedActivation activationType);
TfLiteNode* GetNodeConnectedToInput(TfLiteContext* tfLiteContext,
int32_t& connectedIndex,
int32_t inputIdx);
bool WillInputBeOptimizedToConst(TfLiteContext* tfLiteContext, int32_t inputIdx);
} // namespace armnnDelegate
|