Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp236 GeneralResult<BufferRole> unvalidatedConvert(const hal::V1_3::BufferRole& bufferRole) { in unvalidatedConvert() argument
238 .modelIndex = bufferRole.modelIndex, in unvalidatedConvert()
239 .ioIndex = bufferRole.ioIndex, in unvalidatedConvert()
240 .probability = bufferRole.frequency, in unvalidatedConvert()
601 nn::GeneralResult<BufferRole> unvalidatedConvert(const nn::BufferRole& bufferRole) { in unvalidatedConvert() argument
603 .modelIndex = bufferRole.modelIndex, in unvalidatedConvert()
604 .ioIndex = bufferRole.ioIndex, in unvalidatedConvert()
605 .frequency = bufferRole.probability, in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp459 GeneralResult<BufferRole> unvalidatedConvert(const aidl_hal::BufferRole& bufferRole) { in unvalidatedConvert() argument
460 VERIFY_NON_NEGATIVE(bufferRole.modelIndex) << "BufferRole: modelIndex must not be negative"; in unvalidatedConvert()
461 VERIFY_NON_NEGATIVE(bufferRole.ioIndex) << "BufferRole: ioIndex must not be negative"; in unvalidatedConvert()
463 .modelIndex = static_cast<uint32_t>(bufferRole.modelIndex), in unvalidatedConvert()
464 .ioIndex = static_cast<uint32_t>(bufferRole.ioIndex), in unvalidatedConvert()
465 .probability = bufferRole.probability, in unvalidatedConvert()
828 nn::GeneralResult<BufferRole> unvalidatedConvert(const nn::BufferRole& bufferRole) { in unvalidatedConvert() argument
829 VERIFY_LE_INT32_MAX(bufferRole.modelIndex) in unvalidatedConvert()
831 VERIFY_LE_INT32_MAX(bufferRole.ioIndex) in unvalidatedConvert()
834 .modelIndex = static_cast<int32_t>(bufferRole.modelIndex), in unvalidatedConvert()
[all …]
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DConversions.h41 GeneralResult<BufferRole> unvalidatedConvert(const hal::V1_3::BufferRole& bufferRole);
81 nn::GeneralResult<BufferRole> unvalidatedConvert(const nn::BufferRole& bufferRole);
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DConversions.h91 GeneralResult<BufferRole> unvalidatedConvert(const aidl_hal::BufferRole& bufferRole);
152 nn::GeneralResult<BufferRole> unvalidatedConvert(const nn::BufferRole& bufferRole);