Home
last modified time | relevance | path

Searched refs:setInputFromMemory (Results 1 – 15 of 15) sorted by relevance

/packages/modules/NeuralNetworks/runtime/
DExecutionBuilder.h64 int setInputFromMemory(uint32_t index, const ANeuralNetworksOperandType* type,
369 int setInputFromMemory(uint32_t inputIndex, const RuntimeMemory* memory, uint32_t offset,
DExecutionPlan.cpp564 executor->setInputFromMemory(stepInputIndex, temporaryMemory, loc.offset, in mapInputsAndOutputs()
567 executor->setInputFromMemory(stepInputIndex, loc->memory, loc->offset, in mapInputsAndOutputs()
583 executor->setInputFromMemory(stepInputIndex, loc.memory, loc.offset, loc.length); in mapInputsAndOutputs()
DExecutionBuilder.cpp211 int ExecutionBuilder::setInputFromMemory(uint32_t index, const ANeuralNetworksOperandType* type, in setInputFromMemory() function in android::nn::ExecutionBuilder
DNeuralNetworks.cpp1339 return r->setInputFromMemory(index, type, m, offset, length); in ANeuralNetworksExecution_setInputFromMemory()
/packages/modules/NeuralNetworks/runtime/test/
DTestMemoryInternal.cpp163 ASSERT_EQ(execution2.setInputFromMemory(0, &input, offsetForMatrix1, sizeof(Matrix3x4)), in TEST_F()
DTestTrivialModel.cpp159 ASSERT_EQ(execution.setInputFromMemory(0, &matrix1Memory, 0, sizeof(Matrix3x4)), in testAddTwoWithHardwareBufferInput()
DTestGenerated.cpp206 ASSERT_EQ(Result::NO_ERROR, execution->setInputFromMemory(i, &wrapperMemory, 0, 0)); in createRequestWithDeviceMemories()
DTestNeuralNetworksWrapper.h409 Result setInputFromMemory(uint32_t index, const Memory* memory, uint32_t offset,
DTestUnspecifiedDimensions.cpp283 return execution->setInputFromMemory(opIndex, memory->getMemory(), 0, size, t); in setInOut()
DSupportLibraryTestGenerated.cpp315 ASSERT_EQ(Result::NO_ERROR, execution->setInputFromMemory(i, &wrapperMemory, 0, 0)); in computeWithDeviceMemories()
DTestGpuNnapi.cpp879 ASSERT_EQ(mExecution->setInputFromMemory(/*index=*/0, &mInputMemory, /*offset=*/0, in runInternal()
DTestPartitioningRandom.cpp1363 e->setInputFromMemory(inputIndex++, memory, offset, length); in TEST_P()
/packages/modules/NeuralNetworks/shim_and_sl/
DShimPreparedModel.cpp85 auto result = execution->setInputFromMemory( in parseInputs()
/packages/modules/NeuralNetworks/runtime/include/
DNeuralNetworksWrapper.h624 Result setInputFromMemory(uint32_t index, const Memory* memory, uint32_t offset,
/packages/modules/NeuralNetworks/shim_and_sl/include/
DSupportLibraryWrapper.h526 Result setInputFromMemory(uint32_t index, const Memory* memory, uint32_t offset,