/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Conversions.h | 27 GeneralResult<OperandType> unvalidatedConvert(const hal::V1_0::OperandType& operandType); 57 nn::GeneralResult<OperandType> unvalidatedConvert(const nn::OperandType& operandType);
|
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/ |
D | Conversions.h | 27 GeneralResult<OperandType> unvalidatedConvert(const hal::V1_2::OperandType& operandType); 67 nn::GeneralResult<OperandType> unvalidatedConvert(const nn::OperandType& operandType);
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | CompilationCachingTests.cpp | 111 template <typename CppType, TestOperandType operandType> 134 if (operandType == TestOperandType::TENSOR_FLOAT32) { in createLargeTestModelImpl() 157 .type = operandType, in createLargeTestModelImpl() 169 .type = operandType, in createLargeTestModelImpl() 195 .type = operandType, in createLargeTestModelImpl() 1014 const auto& [namedDevice, operandType] = info.param; in printCompilationCachingTest() 1015 const std::string type = (operandType == OperandType::TENSOR_FLOAT32 ? "float32" : "quant8"); in printCompilationCachingTest() 1172 const auto& [namedDevice, operandType, seed] = info.param; in printCompilationCachingSecurityTest() 1173 const std::string type = (operandType == OperandType::TENSOR_FLOAT32 ? "float32" : "quant8"); in printCompilationCachingSecurityTest()
|
D | MemoryDomainTests.cpp | 630 const auto& [namedDevice, operandType] = info.param; in printMemoryDomainAllocateTest() 631 const std::string type = toString(static_cast<OperandType>(operandType)); in printMemoryDomainAllocateTest() 886 const auto& [namedDevice, operandType] = info.param; in printMemoryDomainCopyTest() 887 const std::string type = toString(static_cast<OperandType>(operandType)); in printMemoryDomainCopyTest() 1249 const auto& [namedDevice, operandType, executor] = info.param; in printMemoryDomainExecutionTest() 1250 const std::string type = toString(static_cast<OperandType>(operandType)); in printMemoryDomainExecutionTest()
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Conversions.cpp | 138 GeneralResult<OperandType> unvalidatedConvert(const aidl_hal::OperandType& operandType) { in unvalidatedConvert() argument 139 VERIFY_NON_NEGATIVE(underlyingType(operandType)) << "Negative operand types are not allowed."; in unvalidatedConvert() 140 const auto canonical = static_cast<OperandType>(operandType); in unvalidatedConvert() 569 GeneralResult<OperandType> convert(const aidl_hal::OperandType& operandType) { in convert() argument 570 return validatedConvert(operandType); in convert() 894 nn::GeneralResult<OperandType> unvalidatedConvert(const nn::OperandType& operandType) { in unvalidatedConvert() argument 895 if (operandType == nn::OperandType::OEM || operandType == nn::OperandType::TENSOR_OEM_BYTE) { in unvalidatedConvert() 896 return NN_ERROR() << "Unable to convert invalid OperandType " << operandType; in unvalidatedConvert() 898 return static_cast<OperandType>(operandType); in unvalidatedConvert()
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Conversions.h | 28 GeneralResult<OperandType> unvalidatedConvert(const hal::V1_3::OperandType& operandType); 69 nn::GeneralResult<OperandType> unvalidatedConvert(const nn::OperandType& operandType);
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | Conversions.h | 63 GeneralResult<OperandType> unvalidatedConvert(const aidl_hal::OperandType& operandType); 119 GeneralResult<OperandType> convert(const aidl_hal::OperandType& operandType); 160 nn::GeneralResult<OperandType> unvalidatedConvert(const nn::OperandType& operandType);
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | CompilationCachingTests.cpp | 115 template <typename CppType, TestOperandType operandType> 138 if (operandType == TestOperandType::TENSOR_FLOAT32) { in createLargeTestModelImpl() 161 .type = operandType, in createLargeTestModelImpl() 173 .type = operandType, in createLargeTestModelImpl() 199 .type = operandType, in createLargeTestModelImpl() 1209 const auto& [namedDevice, operandType] = info.param; in printCompilationCachingTest() 1210 const std::string type = (operandType == OperandType::TENSOR_FLOAT32 ? "float32" : "quant8"); in printCompilationCachingTest() 1366 const auto& [namedDevice, operandType, seed] = info.param; in printCompilationCachingSecurityTest() 1367 const std::string type = (operandType == OperandType::TENSOR_FLOAT32 ? "float32" : "quant8"); in printCompilationCachingSecurityTest()
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | CompilationCachingTests.cpp | 118 template <typename CppType, TestOperandType operandType> 141 if (operandType == TestOperandType::TENSOR_FLOAT32) { in createLargeTestModelImpl() 164 .type = operandType, in createLargeTestModelImpl() 176 .type = operandType, in createLargeTestModelImpl() 202 .type = operandType, in createLargeTestModelImpl() 1200 const auto& [namedDevice, operandType] = info.param; in printCompilationCachingTest() 1201 const std::string type = (operandType == OperandType::TENSOR_FLOAT32 ? "float32" : "quant8"); in printCompilationCachingTest() 1357 const auto& [namedDevice, operandType, seed] = info.param; in printCompilationCachingSecurityTest() 1358 const std::string type = (operandType == OperandType::TENSOR_FLOAT32 ? "float32" : "quant8"); in printCompilationCachingSecurityTest()
|
D | MemoryDomainTests.cpp | 605 const auto& [namedDevice, operandType] = info.param; in printMemoryDomainAllocateTest() 606 const std::string type = toString(static_cast<OperandType>(operandType)); in printMemoryDomainAllocateTest() 830 const auto& [namedDevice, operandType] = info.param; in printMemoryDomainCopyTest() 831 const std::string type = toString(static_cast<OperandType>(operandType)); in printMemoryDomainCopyTest() 1199 const auto& [namedDevice, operandType, executor] = info.param; in printMemoryDomainExecutionTest() 1200 const std::string type = toString(static_cast<OperandType>(operandType)); in printMemoryDomainExecutionTest()
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | Conversions.cpp | 93 GeneralResult<OperandType> unvalidatedConvert(const hal::V1_2::OperandType& operandType) { in unvalidatedConvert() argument 94 return static_cast<OperandType>(operandType); in unvalidatedConvert() 398 nn::GeneralResult<OperandType> unvalidatedConvert(const nn::OperandType& operandType) { in unvalidatedConvert() argument 399 return static_cast<OperandType>(operandType); in unvalidatedConvert()
|
/hardware/interfaces/neuralnetworks/1.0/utils/src/ |
D | Conversions.cpp | 202 GeneralResult<OperandType> unvalidatedConvert(const hal::V1_0::OperandType& operandType) { in unvalidatedConvert() argument 203 return static_cast<OperandType>(operandType); in unvalidatedConvert() 486 nn::GeneralResult<OperandType> unvalidatedConvert(const nn::OperandType& operandType) { in unvalidatedConvert() argument 487 return static_cast<OperandType>(operandType); in unvalidatedConvert()
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Conversions.cpp | 108 GeneralResult<OperandType> unvalidatedConvert(const hal::V1_3::OperandType& operandType) { in unvalidatedConvert() argument 109 return static_cast<OperandType>(operandType); in unvalidatedConvert() 473 nn::GeneralResult<OperandType> unvalidatedConvert(const nn::OperandType& operandType) { in unvalidatedConvert() argument 474 return static_cast<OperandType>(operandType); in unvalidatedConvert()
|