Home
last modified time | relevance | path

Searched refs:createFromMemory (Results 1 – 10 of 10) sorted by relevance

/packages/modules/NeuralNetworks/driver/sample/
DCanonicalBuffer.cpp42 const auto srcPool = RunTimePoolInfo::createFromMemory(src); in copyFromInternal()
71 const auto dstPool = RunTimePoolInfo::createFromMemory(dst); in copyTo()
DCanonicalPreparedModel.cpp48 auto buffer = RunTimePoolInfo::createFromMemory(*maybeMemory); in createRunTimePoolInfos()
/packages/modules/NeuralNetworks/runtime/
DModelArgumentInfo.h44 static std::pair<int, ModelArgumentInfo> createFromMemory(
DModelArgumentInfo.cpp79 std::pair<int, ModelArgumentInfo> ModelArgumentInfo::createFromMemory( in createFromMemory() function in android::nn::ModelArgumentInfo
DExecutionBuilder.cpp254 ModelArgumentInfo::createFromMemory(mModel->getInputOperand(index), type, poolIndex, in setInputFromMemory()
334 ModelArgumentInfo::createFromMemory(mModel->getOutputOperand(index), type, poolIndex, in setOutputFromMemory()
1434 ModelArgumentInfo::createFromMemory(inputOrOutputOperand, in setInputOrOutputFromMemory()
DMemory.cpp209 mCachedRunTimePoolInfo = RunTimePoolInfo::createFromMemory(kMemory); in getRunTimePoolInfo()
/packages/modules/NeuralNetworks/driver/sample_hidl/
DSampleDriver.cpp319 const auto dstPool = RunTimePoolInfo::createFromMemory(uncheckedConvert(dst)); in copyTo()
338 const auto srcPool = RunTimePoolInfo::createFromMemory(uncheckedConvert(src)); in copyFromInternal()
382 RunTimePoolInfo::createFromMemory(uncheckedConvert(pool.hidlMemory())); in createRunTimePoolInfos()
779 mMemoryCache[slot] = RunTimePoolInfo::createFromMemory(uncheckedConvert(memory)); in addCacheEntry()
/packages/modules/NeuralNetworks/common/include/
DCpuExecutor.h108 static std::optional<RunTimePoolInfo> createFromMemory(const SharedMemory& memory);
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriverAidl.cpp247 const auto dstPool = RunTimePoolInfo::createFromMemory(canonicalMemory.value()); in copyTo()
272 const auto srcPool = RunTimePoolInfo::createFromMemory(canonicalMemory.value()); in copyFromInternal()
325 auto buffer = RunTimePoolInfo::createFromMemory(*memory); in createRunTimePoolInfos()
/packages/modules/NeuralNetworks/common/
DCpuExecutor.cpp328 std::optional<RunTimePoolInfo> RunTimePoolInfo::createFromMemory(const SharedMemory& memory) { in createFromMemory() function in android::nn::RunTimePoolInfo
371 if (std::optional<RunTimePoolInfo> poolInfo = RunTimePoolInfo::createFromMemory(pool)) { in setRunTimePoolInfosFromCanonicalMemories()
394 RunTimePoolInfo::createFromMemory(std::get<SharedMemory>(pool))) { in setRunTimePoolInfosFromMemoryPools()