• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include <armnn/utility/IgnoreUnused.hpp>
9 
10 #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 
15 namespace armnnDelegate
16 {
17 
VisitSpaceToDepthOperator(DelegateData & delegateData,TfLiteContext * tfLiteContext,TfLiteNode * tfLiteNode,int nodeIndex,int32_t operatorCode)18 TfLiteStatus VisitSpaceToDepthOperator(DelegateData& delegateData,
19                                        TfLiteContext* tfLiteContext,
20                                        TfLiteNode* tfLiteNode,
21                                        int nodeIndex,
22                                        int32_t operatorCode)
23 {
24     armnn::IgnoreUnused(delegateData,
25                         tfLiteContext,
26                         tfLiteNode,
27                         nodeIndex,
28                         operatorCode);
29 
30     return kTfLiteError;
31 }
32 
VisitDepthToSpaceOperator(DelegateData & delegateData,TfLiteContext * tfLiteContext,TfLiteNode * tfLiteNode,int nodeIndex,int32_t operatorCode)33 TfLiteStatus VisitDepthToSpaceOperator(DelegateData& delegateData,
34                                        TfLiteContext* tfLiteContext,
35                                        TfLiteNode* tfLiteNode,
36                                        int nodeIndex,
37                                        int32_t operatorCode)
38 {
39     armnn::IgnoreUnused(delegateData,
40                         tfLiteContext,
41                         tfLiteNode,
42                         nodeIndex,
43                         operatorCode);
44 
45     return kTfLiteError;
46 }
47 
48 } // namespace armnnDelegate
49