Home
last modified time | relevance | path

Searched refs:extensionName (Results 1 – 13 of 13) sorted by relevance

/packages/modules/NeuralNetworks/runtime/
DTypeManager.cpp214 bool TypeManager::getExtensionPrefix(const std::string& extensionName, uint16_t* prefix) { in getExtensionPrefix() argument
215 auto it = mExtensionNameToPrefix.find(extensionName); in getExtensionPrefix()
221 mExtensionNameToPrefix[extensionName] = *prefix; in getExtensionPrefix()
222 mPrefixToExtension.push_back(&mExtensionNameToExtension[extensionName]); in getExtensionPrefix()
227 bool TypeManager::getExtensionType(const char* extensionName, uint16_t typeWithinExtension, in getExtensionType() argument
230 NN_RET_CHECK(getExtensionPrefix(extensionName, &prefix)); in getExtensionType()
DNeuralNetworks.cpp1450 const char* extensionName, in ANeuralNetworksDevice_getExtensionSupport() argument
1452 if (device == nullptr || extensionName == nullptr || isExtensionSupported == nullptr) { in ANeuralNetworksDevice_getExtensionSupport()
1460 [extensionName](const auto& supportedExtension) { in ANeuralNetworksDevice_getExtensionSupport()
1461 return supportedExtension.name == extensionName; in ANeuralNetworksDevice_getExtensionSupport()
1468 const char* extensionName, in ANeuralNetworksModel_getExtensionOperandType() argument
1472 if (!model || !extensionName || !type) { in ANeuralNetworksModel_getExtensionOperandType()
1477 return m->getExtensionType(extensionName, operandCodeWithinExtension, type); in ANeuralNetworksModel_getExtensionOperandType()
1481 const char* extensionName, in ANeuralNetworksModel_getExtensionOperationType() argument
1485 if (!model || !extensionName || !type) { in ANeuralNetworksModel_getExtensionOperationType()
1490 return m->getExtensionType(extensionName, operationCodeWithinExtension, type); in ANeuralNetworksModel_getExtensionOperationType()
[all …]
DTypeManager.h49 bool getExtensionType(const char* extensionName, uint16_t typeWithinExtension, int32_t* type);
133 bool getExtensionPrefix(const std::string& extensionName, uint16_t* prefix);
DModelBuilder.h43 int getExtensionType(const char* extensionName, uint16_t typeWithinExtension, int32_t* type);
DModelBuilder.cpp67 int ModelBuilder::getExtensionType(const char* extensionName, uint16_t typeWithinExtension, in getExtensionType() argument
69 return TypeManager::get()->getExtensionType(extensionName, typeWithinExtension, type) in getExtensionType()
/packages/modules/NeuralNetworks/runtime/include/
DNeuralNetworksExtensions.h52 const char* extensionName, bool* isExtensionSupported)
70 const char* extensionName,
89 const char* extensionName,
DNeuralNetworksWrapperExtensions.h97 int32_t getExtensionOperandType(const char* extensionName, uint16_t typeWithinExtension) { in getExtensionOperandType() argument
99 if (ANeuralNetworksModel_getExtensionOperandType(mModel, extensionName, typeWithinExtension, in getExtensionOperandType()
106 ANeuralNetworksOperationType getExtensionOperationType(const char* extensionName, in getExtensionOperationType() argument
109 if (ANeuralNetworksModel_getExtensionOperationType(mModel, extensionName, in getExtensionOperationType()
/packages/modules/NeuralNetworks/shim_and_sl/public/
DNeuralNetworksSupportLibraryImpl.h253 const char** extensionName);
433 const char* extensionName,
819 const char* extensionName,
830 const char* extensionName,
1016 const char** extensionName);
/packages/modules/NeuralNetworks/shim_and_sl/
DShimConverter.cpp94 auto* extensionName = getExtensionName(extensionPrefix); in convertSubgraphFromHAL() local
95 if (extensionName == nullptr) { in convertSubgraphFromHAL()
100 resultModel.getExtensionOperandType(*extensionName, typeWithinExtension, in convertSubgraphFromHAL()
200 auto* extensionName = getExtensionName(extensionPrefix); in convertSubgraphFromHAL() local
201 if (extensionName == nullptr) { in convertSubgraphFromHAL()
206 resultModel.getExtensionOperationType(*extensionName, typeWithinExtension, in convertSubgraphFromHAL()
DShimDevice.cpp158 const char* extensionName; in getVendorExtensions() local
160 &extensionName); in getVendorExtensions()
161 extension.name = extensionName; in getVendorExtensions()
/packages/modules/NeuralNetworks/shim_and_sl/include/
DSupportLibraryWrapper.h296 void getExtensionOperandType(const std::string& extensionName, in getExtensionOperandType() argument
299 mModel, extensionName.c_str(), operandCodeWithinExtension, type) != in getExtensionOperandType()
305 void getExtensionOperationType(const std::string& extensionName, in getExtensionOperationType() argument
309 mModel, extensionName.c_str(), operandCodeWithinExtension, type) != in getExtensionOperationType()
/packages/modules/NeuralNetworks/runtime/test/
DTestExtensions.cpp111 bool testDriverSupportsExtension(const char* extensionName) { in testDriverSupportsExtension() argument
113 EXPECT_EQ(ANeuralNetworksDevice_getExtensionSupport(mDevice, extensionName, &result), in testDriverSupportsExtension()
DTestGpuNnapi.cpp141 return strcmp(extension.extensionName, requestedExtension) == 0; in isExtensionSupported()