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# This lists the entry points visible to applications that use the
18# Neural Networks lib. Other entry points present in the library won't be
19# usable.
20
21LIBNEURALNETWORKS {
22  global:
23    ANeuralNetworksMemory_createFromFd;
24    ANeuralNetworksMemory_free;
25    ANeuralNetworksModel_create;
26    ANeuralNetworksModel_free;
27    ANeuralNetworksModel_finish;
28    ANeuralNetworksModel_addOperand;
29    ANeuralNetworksModel_setOperandValue;
30    ANeuralNetworksModel_setOperandValueFromMemory;
31    ANeuralNetworksModel_addOperation;
32    ANeuralNetworksModel_identifyInputsAndOutputs;
33    ANeuralNetworksCompilation_create;
34    ANeuralNetworksCompilation_free;
35    ANeuralNetworksCompilation_setPreference;
36    ANeuralNetworksCompilation_finish;
37    ANeuralNetworksExecution_create;
38    ANeuralNetworksExecution_free;
39    ANeuralNetworksExecution_setInput;
40    ANeuralNetworksExecution_setInputFromMemory;
41    ANeuralNetworksExecution_setOutput;
42    ANeuralNetworksExecution_setOutputFromMemory;
43    ANeuralNetworksExecution_startCompute;
44    ANeuralNetworksEvent_wait;
45    ANeuralNetworksEvent_free;
46  local:
47    *;
48};
49