• 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# 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    ANeuralNetworksModel_relaxComputationFloat32toFloat16;
34    ANeuralNetworksCompilation_create;
35    ANeuralNetworksCompilation_free;
36    ANeuralNetworksCompilation_setPreference;
37    ANeuralNetworksCompilation_finish;
38    ANeuralNetworksExecution_create;
39    ANeuralNetworksExecution_free;
40    ANeuralNetworksExecution_setInput;
41    ANeuralNetworksExecution_setInputFromMemory;
42    ANeuralNetworksExecution_setOutput;
43    ANeuralNetworksExecution_setOutputFromMemory;
44    ANeuralNetworksExecution_startCompute;
45    ANeuralNetworksEvent_wait;
46    ANeuralNetworksEvent_free;
47  local:
48    *;
49};
50