Home
last modified time | relevance | path

Searched refs:bufferRole (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp437 GeneralResult<BufferRole> unvalidatedConvert(const aidl_hal::BufferRole& bufferRole) { in unvalidatedConvert() argument
438 VERIFY_NON_NEGATIVE(bufferRole.modelIndex) << "BufferRole: modelIndex must not be negative"; in unvalidatedConvert()
439 VERIFY_NON_NEGATIVE(bufferRole.ioIndex) << "BufferRole: ioIndex must not be negative"; in unvalidatedConvert()
441 .modelIndex = static_cast<uint32_t>(bufferRole.modelIndex), in unvalidatedConvert()
442 .ioIndex = static_cast<uint32_t>(bufferRole.ioIndex), in unvalidatedConvert()
443 .probability = bufferRole.probability, in unvalidatedConvert()
742 nn::GeneralResult<BufferRole> unvalidatedConvert(const nn::BufferRole& bufferRole) { in unvalidatedConvert() argument
743 VERIFY_LE_INT32_MAX(bufferRole.modelIndex) in unvalidatedConvert()
745 VERIFY_LE_INT32_MAX(bufferRole.ioIndex) in unvalidatedConvert()
748 .modelIndex = static_cast<int32_t>(bufferRole.modelIndex), in unvalidatedConvert()
[all …]
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp221 GeneralResult<BufferRole> unvalidatedConvert(const hal::V1_3::BufferRole& bufferRole) { in unvalidatedConvert() argument
223 .modelIndex = bufferRole.modelIndex, in unvalidatedConvert()
224 .ioIndex = bufferRole.ioIndex, in unvalidatedConvert()
225 .probability = bufferRole.frequency, in unvalidatedConvert()
565 nn::GeneralResult<BufferRole> unvalidatedConvert(const nn::BufferRole& bufferRole) { in unvalidatedConvert() argument
567 .modelIndex = bufferRole.modelIndex, in unvalidatedConvert()
568 .ioIndex = bufferRole.ioIndex, in unvalidatedConvert()
569 .frequency = bufferRole.probability, in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DConversions.h86 GeneralResult<BufferRole> unvalidatedConvert(const aidl_hal::BufferRole& bufferRole);
133 nn::GeneralResult<BufferRole> unvalidatedConvert(const nn::BufferRole& bufferRole);