| # |
| # Copyright (C) 2017 The Android Open Source Project |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| # |
| |
| # This lists the entry points visible to applications that use the |
| # Neural Networks lib. Other entry points present in the library won't be |
| # usable. |
| |
| LIBNEURALNETWORKS { |
| global: |
| ANeuralNetworksMemory_createFromFd; |
| ANeuralNetworksMemory_free; |
| ANeuralNetworksModel_create; |
| ANeuralNetworksModel_free; |
| ANeuralNetworksModel_finish; |
| ANeuralNetworksModel_addOperand; |
| ANeuralNetworksModel_setOperandValue; |
| ANeuralNetworksModel_setOperandValueFromMemory; |
| ANeuralNetworksModel_addOperation; |
| ANeuralNetworksModel_identifyInputsAndOutputs; |
| ANeuralNetworksModel_relaxComputationFloat32toFloat16; |
| ANeuralNetworksCompilation_create; |
| ANeuralNetworksCompilation_free; |
| ANeuralNetworksCompilation_setPreference; |
| ANeuralNetworksCompilation_finish; |
| ANeuralNetworksExecution_create; |
| ANeuralNetworksExecution_free; |
| ANeuralNetworksExecution_setInput; |
| ANeuralNetworksExecution_setInputFromMemory; |
| ANeuralNetworksExecution_setOutput; |
| ANeuralNetworksExecution_setOutputFromMemory; |
| ANeuralNetworksExecution_startCompute; |
| ANeuralNetworksEvent_wait; |
| ANeuralNetworksEvent_free; |
| local: |
| *; |
| }; |