Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/utils/common/src/
DResilientDevice.cpp215 const std::vector<nn::BufferRole>& inputRoles, in allocate() argument
220 inputRoles, outputRoles] { in allocate()
221 return device->allocateInternal(desc, preparedModels, inputRoles, outputRoles); in allocate()
225 return allocateInternal(desc, preparedModels, inputRoles, outputRoles); in allocate()
263 const std::vector<nn::BufferRole>& inputRoles, in allocateInternal() argument
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.cpp316 std::vector<BufferRole> inputRoles; member
331 args.inputRoles, args.outputRoles, &buffer); in validateAllocate()
344 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}, in testConflictOperands()
349 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}}, in testConflictOperands()
377 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}}, in TEST_P()
394 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}}, in TEST_P()
411 .inputRoles = {{.modelIndex = 1, .ioIndex = 0, .probability = 1.0f}}, in TEST_P()
428 .inputRoles = {{.modelIndex = 0, .ioIndex = 1, .probability = 1.0f}}, in TEST_P()
446 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = invalidFreq}}, in TEST_P()
463 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}, in TEST_P()
[all …]
DGeneratedTestHarness.cpp106 std::vector<BufferRole> inputRoles, outputRoles; in allocateInternal() local
108 inputRoles = {role}; in allocateInternal()
117 const auto ret = kDevice->allocate({}, {parcel}, inputRoles, outputRoles, &buffer); in allocateInternal()
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DResilientDevice.h78 const std::vector<nn::BufferRole>& inputRoles,
92 const std::vector<nn::BufferRole>& inputRoles,
DInvalidDevice.h65 const std::vector<nn::BufferRole>& inputRoles,
/hardware/interfaces/neuralnetworks/utils/common/test/
DMockDevice.h50 const std::vector<BufferRole>& inputRoles,
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
DIDevice.aidl37 …rcel[] preparedModels, in android.hardware.neuralnetworks.BufferRole[] inputRoles, in android.hard… 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.h34 const std::vector<BufferRole>& inputRoles,
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DInvalidDevice.h40 const std::vector<BufferRole>& inputRoles,
DDevice.h79 const std::vector<nn::BufferRole>& inputRoles,
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
DDevice.h77 const std::vector<nn::BufferRole>& inputRoles,
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DDevice.h77 const std::vector<nn::BufferRole>& inputRoles,
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DDevice.h79 const std::vector<nn::BufferRole>& inputRoles,
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DDevice.cpp237 const std::vector<nn::BufferRole>& inputRoles, in allocate() argument
241 const auto hidlInputRoles = NN_TRY(convert(inputRoles)); in allocate()
/hardware/interfaces/neuralnetworks/utils/adapter/include/nnapi/hal/
DDevice.h86 const hidl_vec<V1_3::BufferRole>& inputRoles,
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DDevice.h96 const std::vector<nn::BufferRole>& inputRoles,
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DDevice.cpp261 const std::vector<nn::BufferRole>& inputRoles, in allocate() argument
265 const auto aidlInputRoles = NN_TRY(convert(inputRoles)); in allocate()
/hardware/interfaces/neuralnetworks/utils/adapter/src/
DDevice.cpp311 const hidl_vec<V1_3::BufferRole>& inputRoles, in allocate() argument
315 auto nnInputRoles = NN_TRY(convertInput(inputRoles)); in allocate()
542 const hidl_vec<V1_3::BufferRole>& inputRoles, in allocate() argument
544 auto result = adapter::allocate(kDevice, desc, preparedModels, inputRoles, outputRoles); in allocate()
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DMockDevice.h94 const hidl_vec<V1_3::BufferRole>& inputRoles,
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.cpp127 hidl_vec<BufferRole> inputRoles, outputRoles; in allocateInternal() local
129 inputRoles = {role}; in allocateInternal()
144 const auto ret = kDevice->allocate({}, {kPreparedModel}, inputRoles, outputRoles, cb); in allocateInternal()
/hardware/interfaces/neuralnetworks/1.3/
DIDevice.hal330 * the buffer. An initialized buffer may be used according to all roles specified in inputRoles
348 * @param inputRoles A vector of roles with each specifying an input to a prepared model.
350 * Each role specified in inputRoles and outputRoles must be unique. The corresponding
369 allocate(BufferDesc desc, vec<IPreparedModel> preparedModels, vec<BufferRole> inputRoles,