• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2017 The Android Open Source Project
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 ANDROID_ML_NN_RUNTIME_NEURAL_NETWORKS_OEM_H
18 #define ANDROID_ML_NN_RUNTIME_NEURAL_NETWORKS_OEM_H
19 
20 #if __ANDROID_API__ >= __ANDROID_API_O_MR1__
21 
22 enum {
23     /** OEM specific scalar value. */
24     ANEURALNETWORKS_OEM_SCALAR = 10000,
25 
26     /** A tensor of OEM specific values. */
27     ANEURALNETWORKS_TENSOR_OEM_BYTE = 10001,
28 };  // extends OperandCode
29 
30 enum {
31     /** OEM specific operation. */
32     ANEURALNETWORKS_OEM_OPERATION = 10000,
33 };  // extends OperationCode
34 
35 #endif  //  __ANDROID_API__ >= 27
36 
37 #endif  // ANDROID_ML_NN_RUNTIME_NEURAL_NETWORKS_OEM_H
38