Home
last modified time | relevance | path

Searched refs:ANeuralNetworksMemoryDesc (Results 1 – 6 of 6) sorted by relevance

/frameworks/ml/nn/runtime/include/
DNeuralNetworks.h6314 typedef struct ANeuralNetworksMemoryDesc ANeuralNetworksMemoryDesc; typedef
6336 int ANeuralNetworksMemoryDesc_create(ANeuralNetworksMemoryDesc** desc) __INTRODUCED_IN(30);
6351 void ANeuralNetworksMemoryDesc_free(ANeuralNetworksMemoryDesc* desc) __INTRODUCED_IN(30);
6395 int ANeuralNetworksMemoryDesc_addInputRole(ANeuralNetworksMemoryDesc* desc,
6441 int ANeuralNetworksMemoryDesc_addOutputRole(ANeuralNetworksMemoryDesc* desc,
6468 int ANeuralNetworksMemoryDesc_setDimensions(ANeuralNetworksMemoryDesc* desc, uint32_t rank,
6485 int ANeuralNetworksMemoryDesc_finish(ANeuralNetworksMemoryDesc* desc) __INTRODUCED_IN(30);
6540 int ANeuralNetworksMemory_createFromDesc(const ANeuralNetworksMemoryDesc* desc,
/frameworks/ml/nn/runtime/
DNeuralNetworks.cpp897 int ANeuralNetworksMemoryDesc_create(ANeuralNetworksMemoryDesc** desc) { in ANeuralNetworksMemoryDesc_create()
907 *desc = reinterpret_cast<ANeuralNetworksMemoryDesc*>(mb.release()); in ANeuralNetworksMemoryDesc_create()
911 void ANeuralNetworksMemoryDesc_free(ANeuralNetworksMemoryDesc* desc) { in ANeuralNetworksMemoryDesc_free()
918 int ANeuralNetworksMemoryDesc_addInputRole(ANeuralNetworksMemoryDesc* desc, in ANeuralNetworksMemoryDesc_addInputRole()
931 int ANeuralNetworksMemoryDesc_addOutputRole(ANeuralNetworksMemoryDesc* desc, in ANeuralNetworksMemoryDesc_addOutputRole()
944 int ANeuralNetworksMemoryDesc_setDimensions(ANeuralNetworksMemoryDesc* desc, uint32_t rank, in ANeuralNetworksMemoryDesc_setDimensions()
956 int ANeuralNetworksMemoryDesc_finish(ANeuralNetworksMemoryDesc* desc) { in ANeuralNetworksMemoryDesc_finish()
966 int ANeuralNetworksMemory_createFromDesc(const ANeuralNetworksMemoryDesc* desc, in ANeuralNetworksMemory_createFromDesc()
/frameworks/ml/nn/runtime/test/
DTestGenerated.cpp152 ANeuralNetworksMemoryDesc* desc = nullptr; in createDeviceMemoryForInput()
165 ANeuralNetworksMemoryDesc* desc = nullptr; in createDeviceMemoryForOutput()
DTestValidation.cpp257 ANeuralNetworksMemoryDesc* mDesc = nullptr;
1629 ANeuralNetworksMemoryDesc* desc; in TEST_F()
1695 ANeuralNetworksMemoryDesc* desc; in TEST_F()
1727 ANeuralNetworksMemoryDesc* desc; in TEST_F()
1763 ANeuralNetworksMemoryDesc* desc; in TEST_F()
2585 ANeuralNetworksMemoryDesc* desc = nullptr; in TEST_F()
2966 ANeuralNetworksMemoryDesc* desc = nullptr; in testIncompatibleOperands()
2977 ANeuralNetworksMemoryDesc* desc = nullptr; in testIncompatibleOperands()
3138 ANeuralNetworksMemoryDesc* desc = nullptr; in TEST_F()
3265 ANeuralNetworksMemoryDesc* desc = nullptr; in TEST_F()
DTestMemoryDomain.cpp218 ANeuralNetworksMemoryDesc* desc = nullptr; in allocateDeviceMemory()
/frameworks/ml/nn/tools/api/
DNeuralNetworks.t379 * {@link ANeuralNetworksMemoryDesc} to avoid potential memory copying and transformation
380 * overhead between executions. See also {@link ANeuralNetworksMemoryDesc} and
705 * ANeuralNetworksMemoryDesc is an opaque type that represents a memory descriptor.
740 typedef struct ANeuralNetworksMemoryDesc ANeuralNetworksMemoryDesc;
743 * Create a {@link ANeuralNetworksMemoryDesc} with no properties.
757 * @param desc The {@link ANeuralNetworksMemoryDesc} to be created.
762 int ANeuralNetworksMemoryDesc_create(ANeuralNetworksMemoryDesc** desc) __INTRODUCED_IN(30);
770 * See {@link ANeuralNetworksMemoryDesc} for information on multithreaded usage.
777 void ANeuralNetworksMemoryDesc_free(ANeuralNetworksMemoryDesc* desc) __INTRODUCED_IN(30);
802 * See {@link ANeuralNetworksMemoryDesc} for information on multithreaded usage.
[all …]