blob: 5a8a5dcd5b57e8a12368207e8d1b7fbc471ceebb [file] [log] [blame]
Sadik Armagan62483be2020-10-23 17:14:43 +01001//
2// Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
Finn Williams6f9f9902020-11-13 13:23:15 +00008#include <armnn/utility/IgnoreUnused.hpp>
9
Sadik Armagan62483be2020-10-23 17:14:43 +010010#include <tensorflow/lite/builtin_ops.h>
11#include <tensorflow/lite/c/builtin_op_data.h>
12#include <tensorflow/lite/c/common.h>
13#include <tensorflow/lite/minimal_logging.h>
14
15namespace armnnDelegate
16{
17
18TfLiteStatus VisitBatchToSpaceNdOperator(DelegateData& delegateData,
19 TfLiteContext* tfLiteContext,
20 TfLiteNode* tfLiteNode,
21 int nodeIndex,
22 int32_t operatorCode)
23{
Finn Williams6f9f9902020-11-13 13:23:15 +000024 armnn::IgnoreUnused(delegateData,
25 tfLiteContext,
26 tfLiteNode,
27 nodeIndex,
28 operatorCode);
Sadik Armagan62483be2020-10-23 17:14:43 +010029 return kTfLiteError;
30}
31
32TfLiteStatus VisitSpaceToBatchNdOperator(DelegateData& delegateData,
33 TfLiteContext* tfLiteContext,
34 TfLiteNode* tfLiteNode,
35 int nodeIndex,
36 int32_t operatorCode)
37{
Finn Williams6f9f9902020-11-13 13:23:15 +000038 armnn::IgnoreUnused(delegateData,
39 tfLiteContext,
40 tfLiteNode,
41 nodeIndex,
42 operatorCode);
Sadik Armagan62483be2020-10-23 17:14:43 +010043 return kTfLiteError;
44}
45
46} // namespace armnnDelegate