1%% template file for generating OperationTypes.h.
2%% see README.md.
3/*
4 * Copyright (C) 2020 The Android Open Source Project
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 *      http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18
19#ifndef ANDROID_FRAMEWORKS_ML_NN_COMMON_NNAPI_OPERATION_TYPES_H
20#define ANDROID_FRAMEWORKS_ML_NN_COMMON_NNAPI_OPERATION_TYPES_H
21
22namespace android::nn {
23
24%insert Operation_1.0_Comment
25enum class OperationType {
26%insert Operation_1.0
27
28%insert Operation_1.1
29
30%insert Operation_1.2
31
32%insert Operation_1.3
33
34    /**
35     * DEPRECATED. Since HAL version 1.2, extensions are the preferred
36     * alternative to OEM operation and data types.
37     *
38     * This operation is OEM specific. It should only be used for OEM
39     * applications.
40     */
41    OEM_OPERATION = 10000,
42};
43
44}  // namespace android::nn
45
46#endif  // ANDROID_FRAMEWORKS_ML_NN_COMMON_NNAPI_OPERATION_TYPES_H
47