Home
last modified time | relevance | path

Searched refs:outputRoles (Results 1 – 25 of 31) sorted by relevance

12

/hardware/interfaces/neuralnetworks/aidl/utils/src/
DValidateHal.cpp40 const std::vector<aidl_hal::BufferRole>& outputRoles, in validateMemoryDesc() argument
46 NN_RET_CHECK(!inputRoles.empty() || !outputRoles.empty()); in validateMemoryDesc()
50 operands.reserve(inputRoles.size() + outputRoles.size()); in validateMemoryDesc()
67 for (const auto& role : outputRoles) { in validateMemoryDesc()
/hardware/interfaces/neuralnetworks/utils/common/src/
DResilientDevice.cpp218 const std::vector<nn::BufferRole>& outputRoles) const { in allocate()
222 inputRoles, outputRoles] { in allocate()
223 return device->allocateInternal(desc, preparedModels, inputRoles, outputRoles); in allocate()
227 return allocateInternal(desc, preparedModels, inputRoles, outputRoles); in allocate()
268 const std::vector<nn::BufferRole>& outputRoles) const { in allocateInternal()
272 const auto fn = [&desc, &preparedModels, &inputRoles, &outputRoles](const nn::IDevice& device) { in allocateInternal()
273 return device.allocate(desc, preparedModels, inputRoles, outputRoles); in allocateInternal()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DMemoryDomainTests.cpp344 std::vector<BufferRole> outputRoles; member
358 args.inputRoles, args.outputRoles, &buffer); in validateAllocate()
377 .outputRoles = {{.modelIndex = 1, .ioIndex = 0, .probability = 1.0f}}, in testConflictOperands()
381 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}, in testConflictOperands()
410 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}}, in TEST_P()
427 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}}, in TEST_P()
444 .outputRoles = {{.modelIndex = 1, .ioIndex = 0, .probability = 1.0f}}, in TEST_P()
461 .outputRoles = {{.modelIndex = 0, .ioIndex = 1, .probability = 1.0f}}, in TEST_P()
478 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = invalidFreq}}, in TEST_P()
495 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}, in TEST_P()
[all …]
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DMemoryDomainTests.cpp326 hidl_vec<BufferRole> outputRoles; member
334 std::move(args.inputRoles), std::move(args.outputRoles), in validateAllocate()
353 .outputRoles = {{.modelIndex = 1, .ioIndex = 0, .frequency = 1.0f}}, in testConflictOperands()
357 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = 1.0f}, in testConflictOperands()
386 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = 1.0f}}, in TEST_P()
402 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = 1.0f}}, in TEST_P()
419 .outputRoles = {{.modelIndex = 1, .ioIndex = 0, .frequency = 1.0f}}, in TEST_P()
436 .outputRoles = {{.modelIndex = 0, .ioIndex = 1, .frequency = 1.0f}}, in TEST_P()
453 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = invalidFreq}}, in TEST_P()
470 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = 1.0f}, in TEST_P()
[all …]
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DValidateHal.h39 const std::vector<aidl_hal::BufferRole>& outputRoles,
DInvalidDevice.h41 const std::vector<BufferRole>& outputRoles,
DDevice.h83 const std::vector<nn::BufferRole>& outputRoles) const override;
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DResilientDevice.h80 const std::vector<nn::BufferRole>& outputRoles) const override;
96 const std::vector<nn::BufferRole>& outputRoles) const;
DInvalidDevice.h67 const std::vector<nn::BufferRole>& outputRoles) const override;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/2/android/hardware/neuralnetworks/
DIDevice.aidl37 …uralnetworks.BufferRole[] inputRoles, in android.hardware.neuralnetworks.BufferRole[] outputRoles); in allocate() argument
/hardware/interfaces/neuralnetworks/utils/common/test/
DMockDevice.h53 const std::vector<BufferRole>& outputRoles),
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/android/hardware/neuralnetworks/
DIDevice.aidl37 …uralnetworks.BufferRole[] inputRoles, in android.hardware.neuralnetworks.BufferRole[] outputRoles); in allocate() argument
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/
DIDevice.aidl37 …uralnetworks.BufferRole[] inputRoles, in android.hardware.neuralnetworks.BufferRole[] outputRoles); in allocate() argument
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/
DDevice.cpp109 const std::vector<BufferRole>& outputRoles) { in allocate() argument
113 auto nnOutputRoles = NN_TRY(convertInput(outputRoles)); in allocate()
232 const std::vector<BufferRole>& outputRoles, in allocate() argument
234 auto result = adapter::allocate(*kDevice, desc, preparedModels, inputRoles, outputRoles); in allocate()
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/4/android/hardware/neuralnetworks/
DIDevice.aidl37 …uralnetworks.BufferRole[] inputRoles, in android.hardware.neuralnetworks.BufferRole[] outputRoles); in allocate() argument
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
DIDevice.aidl37 …uralnetworks.BufferRole[] inputRoles, in android.hardware.neuralnetworks.BufferRole[] outputRoles); in allocate() argument
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DIDevice.aidl117 in BufferRole[] inputRoles, in BufferRole[] outputRoles); in allocate() argument
/hardware/interfaces/neuralnetworks/aidl/utils/test/
DMockDevice.h35 const std::vector<BufferRole>& outputRoles, DeviceBuffer* deviceBuffer),
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/include/nnapi/hal/aidl/
DDevice.h56 const std::vector<BufferRole>& outputRoles,
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DDevice.cpp240 const std::vector<nn::BufferRole>& outputRoles) const { in allocate()
244 const auto hidlOutputRoles = NN_TRY(convert(outputRoles)); in allocate()
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
DDevice.h79 const std::vector<nn::BufferRole>& outputRoles) const override;
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DDevice.h80 const std::vector<nn::BufferRole>& outputRoles) const override;
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DDevice.h81 const std::vector<nn::BufferRole>& outputRoles) const override;
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/include/nnapi/hal/
DDevice.h87 const hidl_vec<V1_3::BufferRole>& outputRoles, allocate_cb cb) override;
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DDevice.h98 const std::vector<nn::BufferRole>& outputRoles) const override;

12