Home
last modified time | relevance | path

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

12

/hardware/interfaces/neuralnetworks/aidl/utils/src/
DValidateHal.cpp39 const std::vector<aidl_hal::BufferRole>& inputRoles, in validateMemoryDesc() argument
46 NN_RET_CHECK(!inputRoles.empty() || !outputRoles.empty()); in validateMemoryDesc()
50 operands.reserve(inputRoles.size() + outputRoles.size()); in validateMemoryDesc()
51 for (const auto& role : inputRoles) { in validateMemoryDesc()
/hardware/interfaces/neuralnetworks/utils/common/src/
DResilientDevice.cpp217 const std::vector<nn::BufferRole>& inputRoles, in allocate() argument
222 inputRoles, outputRoles] { in allocate()
223 return device->allocateInternal(desc, preparedModels, inputRoles, outputRoles); in allocate()
227 return allocateInternal(desc, preparedModels, inputRoles, outputRoles); in allocate()
267 const std::vector<nn::BufferRole>& inputRoles, in allocateInternal() argument
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.cpp343 std::vector<BufferRole> inputRoles; member
358 args.inputRoles, args.outputRoles, &buffer); in validateAllocate()
371 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}, in testConflictOperands()
376 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}}, in testConflictOperands()
404 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}}, in TEST_P()
421 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}}, in TEST_P()
438 .inputRoles = {{.modelIndex = 1, .ioIndex = 0, .probability = 1.0f}}, in TEST_P()
455 .inputRoles = {{.modelIndex = 0, .ioIndex = 1, .probability = 1.0f}}, in TEST_P()
473 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = invalidFreq}}, in TEST_P()
490 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .probability = 1.0f}, in TEST_P()
[all …]
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DMemoryDomainTests.cpp325 hidl_vec<BufferRole> inputRoles; member
334 std::move(args.inputRoles), std::move(args.outputRoles), in validateAllocate()
347 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = 1.0f}, in testConflictOperands()
352 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = 1.0f}}, in testConflictOperands()
380 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = 1.0f}}, in TEST_P()
396 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = 1.0f}}, in TEST_P()
413 .inputRoles = {{.modelIndex = 1, .ioIndex = 0, .frequency = 1.0f}}, in TEST_P()
430 .inputRoles = {{.modelIndex = 0, .ioIndex = 1, .frequency = 1.0f}}, in TEST_P()
448 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = invalidFreq}}, in TEST_P()
465 .inputRoles = {{.modelIndex = 0, .ioIndex = 0, .frequency = 1.0f}, in TEST_P()
[all …]
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DValidateHal.h38 const std::vector<aidl_hal::BufferRole>& inputRoles,
DInvalidDevice.h40 const std::vector<BufferRole>& inputRoles,
DDevice.h82 const std::vector<nn::BufferRole>& inputRoles,
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DResilientDevice.h79 const std::vector<nn::BufferRole>& inputRoles,
95 const std::vector<nn::BufferRole>& inputRoles,
DInvalidDevice.h66 const std::vector<nn::BufferRole>& inputRoles,
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/2/android/hardware/neuralnetworks/
DIDevice.aidl37 …rcel[] preparedModels, in android.hardware.neuralnetworks.BufferRole[] inputRoles, in android.hard… in allocate() argument
/hardware/interfaces/neuralnetworks/utils/common/test/
DMockDevice.h52 const std::vector<BufferRole>& inputRoles,
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/android/hardware/neuralnetworks/
DIDevice.aidl37 …rcel[] preparedModels, in android.hardware.neuralnetworks.BufferRole[] inputRoles, in android.hard… in allocate() argument
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/
DIDevice.aidl37 …rcel[] preparedModels, in android.hardware.neuralnetworks.BufferRole[] inputRoles, in android.hard… in allocate() argument
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/
DDevice.cpp108 const std::vector<BufferRole>& inputRoles, in allocate() argument
112 auto nnInputRoles = NN_TRY(convertInput(inputRoles)); in allocate()
231 const std::vector<BufferRole>& inputRoles, 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 …rcel[] preparedModels, in android.hardware.neuralnetworks.BufferRole[] inputRoles, in android.hard… in allocate() argument
/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.aidl117 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/utils/adapter/aidl/include/nnapi/hal/aidl/
DDevice.h55 const std::vector<BufferRole>& inputRoles,
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DDevice.cpp239 const std::vector<nn::BufferRole>& inputRoles, in allocate() argument
243 const auto hidlInputRoles = NN_TRY(convert(inputRoles)); in allocate()
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
DDevice.h78 const std::vector<nn::BufferRole>& inputRoles,
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DDevice.h79 const std::vector<nn::BufferRole>& inputRoles,
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DDevice.h80 const std::vector<nn::BufferRole>& inputRoles,
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/include/nnapi/hal/
DDevice.h86 const hidl_vec<V1_3::BufferRole>& inputRoles,
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DDevice.h97 const std::vector<nn::BufferRole>& inputRoles,

12