Lines Matching refs:nn
39 using namespace ::android::nn::sl_wrapper;
48 const std::vector<std::unique_ptr<::android::nn::sl_wrapper::Memory>>& memoryPools, in convertSubgraphFromHAL()
50 std::vector<std::optional<::android::nn::sl_wrapper::Model>>* allModels, in convertSubgraphFromHAL()
63 ::android::nn::sl_wrapper::Model resultModel(nnapi); in convertSubgraphFromHAL()
80 ::android::nn::toUnsigned(operand.dimensions).value(); in convertSubgraphFromHAL()
82 ::android::nn::wrapper::OperandType operandType( in convertSubgraphFromHAL()
83 static_cast<::android::nn::wrapper::Type>(operand.type), dimensions, operand.scale, in convertSubgraphFromHAL()
88 operandType.channelQuant = ::android::nn::wrapper::SymmPerChannelQuantParams( in convertSubgraphFromHAL()
92 if (::android::nn::isExtension(static_cast<::android::nn::OperandType>(operand.type))) { in convertSubgraphFromHAL()
94 ::android::nn::getExtensionPrefix(static_cast<uint32_t>(operand.type)); in convertSubgraphFromHAL()
96 ::android::nn::getTypeWithinExtension(static_cast<uint32_t>(operand.type)); in convertSubgraphFromHAL()
209 if (::android::nn::isExtension(static_cast<::android::nn::OperationType>(operationType))) { in convertSubgraphFromHAL()
211 ::android::nn::getExtensionPrefix(static_cast<uint32_t>(operationType)); in convertSubgraphFromHAL()
213 ::android::nn::getTypeWithinExtension(static_cast<uint32_t>(operationType)); in convertSubgraphFromHAL()
386 std::vector<std::unique_ptr<::android::nn::sl_wrapper::Memory>> memoryPools; in convertFromHAL()
389 std::unique_ptr<::android::nn::sl_wrapper::Memory> memory = convertFromHAL(nnapi, pool); in convertFromHAL()
398 std::vector<std::optional<::android::nn::sl_wrapper::Model>> allModels(model.referenced.size() + in convertFromHAL()
414 std::vector<::android::nn::sl_wrapper::Model> result; in convertFromHAL()
428 std::unique_ptr<::android::nn::sl_wrapper::Memory> convertFromHAL( in convertFromHAL()
437 auto memory = std::make_unique<::android::nn::sl_wrapper::Memory>( in convertFromHAL()
451 auto memory = std::make_unique<::android::nn::sl_wrapper::Memory>( in convertFromHAL()
498 std::make_unique<::android::nn::sl_wrapper::Memory>(nnapi, ahwb, in convertFromHAL()