Imported Upstream version 1.4.0
[platform/core/ml/nnfw.git] / compiler / mir-caffe-importer / caffe_op_types.h
1 /*
2  * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *    http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef MIR_CAFFE_OP_TYPES_H
18 #define MIR_CAFFE_OP_TYPES_H
19
20 namespace mir_caffe
21 {
22
23 enum class CaffeOpType
24 {
25   absVal,
26   accuracy,
27   argMax,
28   batchNorm,
29   batchReindex,
30   bias,
31   BNLL,
32   clip,
33   concat,
34   contrastiveLoss,
35   convolution,
36   crop,
37   data,
38   deconvolution,
39   dropout,
40   dummyData,
41   eltwise,
42   ELU,
43   embed,
44   euclidianLoss,
45   exp,
46   filter,
47   flatten,
48   HDF5Data,
49   HDF5Output,
50   hingeLoss,
51   im2Col,
52   imageData,
53   infogainLoss,
54   innerProduct,
55   input,
56   log,
57   LRN,
58   LSTM,
59   memoryData,
60   multinomialLogisticLoss,
61   MVN,
62   parameter,
63   pooling,
64   power,
65   PReLU,
66   python,
67   recurrent,
68   reduction,
69   ReLU,
70   reshape,
71   RNN,
72   scale,
73   sigmoidCrossEntropyLoss,
74   sigmoid,
75   silence,
76   slice,
77   softmax,
78   softmaxWithLoss,
79   split,
80   SPP,
81   tanh,
82   threshold,
83   tile,
84   windowData
85 };
86
87 } // namespace mir_caffe
88
89 #endif // MIR_CAFFE_OP_TYPES_H