Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/utils/common/src/
DResilientDevice.cpp216 const std::vector<nn::BufferRole>& outputRoles) const { in allocate()
220 inputRoles, outputRoles] { in allocate()
221 return device->allocateInternal(desc, preparedModels, inputRoles, outputRoles); in allocate()
225 return allocateInternal(desc, preparedModels, inputRoles, outputRoles); in allocate()
264 const std::vector<nn::BufferRole>& outputRoles) const { in allocateInternal()
268 const auto fn = [&desc, &preparedModels, &inputRoles, &outputRoles](const nn::IDevice& device) { in allocateInternal()
269 return device.allocate(desc, preparedModels, inputRoles, outputRoles); in allocateInternal()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DMemoryDomainTests.cpp317 std::vector<BufferRole> outputRoles; member
331 args.inputRoles, args.outputRoles, &buffer); in validateAllocate()
350 .outputRoles = {{.modelIndex = 1, .ioIndex = 0, .probability = 1.0f}}, in testConflictOperands()
354 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}, in testConflictOperands()
383 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}}, in TEST_P()
400 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}}, in TEST_P()
417 .outputRoles = {{.modelIndex = 1, .ioIndex = 0, .probability = 1.0f}}, in TEST_P()
434 .outputRoles = {{.modelIndex = 0, .ioIndex = 1, .probability = 1.0f}}, in TEST_P()
451 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = invalidFreq}}, in TEST_P()
468 .outputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}, in TEST_P()
[all …]
DGeneratedTestHarness.cpp106 std::vector<BufferRole> inputRoles, outputRoles; in allocateInternal() local
110 outputRoles = {role}; in allocateInternal()
117 const auto ret = kDevice->allocate({}, {parcel}, inputRoles, outputRoles, &buffer); in allocateInternal()
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DResilientDevice.h79 const std::vector<nn::BufferRole>& outputRoles) const override;
93 const std::vector<nn::BufferRole>& outputRoles) const;
DInvalidDevice.h66 const std::vector<nn::BufferRole>& outputRoles) const override;
/hardware/interfaces/neuralnetworks/utils/common/test/
DMockDevice.h51 const std::vector<BufferRole>& outputRoles),
/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.aidl116 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/aidl/utils/include/nnapi/hal/aidl/
DInvalidDevice.h41 const std::vector<BufferRole>& outputRoles,
DDevice.h80 const std::vector<nn::BufferRole>& outputRoles) const override;
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
DDevice.h78 const std::vector<nn::BufferRole>& outputRoles) const override;
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DDevice.h78 const std::vector<nn::BufferRole>& outputRoles) const override;
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DDevice.h80 const std::vector<nn::BufferRole>& outputRoles) const override;
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DDevice.cpp238 const std::vector<nn::BufferRole>& outputRoles) const { in allocate()
242 const auto hidlOutputRoles = NN_TRY(convert(outputRoles)); in allocate()
/hardware/interfaces/neuralnetworks/utils/adapter/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.h97 const std::vector<nn::BufferRole>& outputRoles) const override;
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DDevice.cpp262 const std::vector<nn::BufferRole>& outputRoles) const { in allocate()
266 const auto aidlOutputRoles = NN_TRY(convert(outputRoles)); in allocate()
/hardware/interfaces/neuralnetworks/utils/adapter/src/
DDevice.cpp312 const hidl_vec<V1_3::BufferRole>& outputRoles) { in allocate() argument
316 auto nnOutputRoles = NN_TRY(convertInput(outputRoles)); in allocate()
543 const hidl_vec<V1_3::BufferRole>& outputRoles, allocate_cb cb) { in allocate() argument
544 auto result = adapter::allocate(kDevice, desc, preparedModels, inputRoles, outputRoles); in allocate()
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DMockDevice.h95 const hidl_vec<V1_3::BufferRole>& outputRoles, allocate_cb cb),
/hardware/interfaces/neuralnetworks/1.3/
DIDevice.hal328 * in ways that are specified by outputRoles. A buffer is initialized after it is used as an
331 * and outputRoles. A buffer will return to the uninitialized state if it is used as an output
349 * @param outputRoles A vector of roles with each specifying an output to a prepared model.
350 * Each role specified in inputRoles and outputRoles must be unique. The corresponding
370 vec<BufferRole> outputRoles)
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.cpp127 hidl_vec<BufferRole> inputRoles, outputRoles; in allocateInternal() local
131 outputRoles = {role}; in allocateInternal()
144 const auto ret = kDevice->allocate({}, {kPreparedModel}, inputRoles, outputRoles, cb); in allocateInternal()