Searched refs:operandType (Results 1 – 10 of 10) sorted by relevance
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Conversions.h | 27 GeneralResult<OperandType> unvalidatedConvert(const hal::V1_0::OperandType& operandType); 56 nn::GeneralResult<OperandType> unvalidatedConvert(const nn::OperandType& operandType);
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Conversions.cpp | 148 GeneralResult<OperandType> unvalidatedConvert(const aidl_hal::OperandType& operandType) { in unvalidatedConvert() argument 149 VERIFY_NON_NEGATIVE(underlyingType(operandType)) << "Negative operand types are not allowed."; in unvalidatedConvert() 150 const auto canonical = static_cast<OperandType>(operandType); in unvalidatedConvert() 540 GeneralResult<OperandType> convert(const aidl_hal::OperandType& operandType) { in convert() argument 541 return validatedConvert(operandType); in convert() 799 nn::GeneralResult<OperandType> unvalidatedConvert(const nn::OperandType& operandType) { in unvalidatedConvert() argument 800 if (operandType == nn::OperandType::OEM || operandType == nn::OperandType::TENSOR_OEM_BYTE) { in unvalidatedConvert() 801 return NN_ERROR() << "Unable to convert invalid OperandType " << operandType; in unvalidatedConvert() 803 return static_cast<OperandType>(operandType); in unvalidatedConvert()
|
/hardware/interfaces/neuralnetworks/1.0/utils/src/ |
D | Conversions.cpp | 79 GeneralResult<OperandType> unvalidatedConvert(const hal::V1_0::OperandType& operandType) { in unvalidatedConvert() argument 80 return static_cast<OperandType>(operandType); in unvalidatedConvert() 265 nn::GeneralResult<OperandType> unvalidatedConvert(const nn::OperandType& operandType) { in unvalidatedConvert() argument 266 return static_cast<OperandType>(operandType); in unvalidatedConvert()
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | Conversions.h | 58 GeneralResult<OperandType> unvalidatedConvert(const aidl_hal::OperandType& operandType); 112 GeneralResult<OperandType> convert(const aidl_hal::OperandType& operandType); 140 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); 68 nn::GeneralResult<OperandType> unvalidatedConvert(const nn::OperandType& operandType);
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | CompilationCachingTests.cpp | 113 template <typename CppType, TestOperandType operandType> 136 if (operandType == TestOperandType::TENSOR_FLOAT32) { in createLargeTestModelImpl() 159 .type = operandType, in createLargeTestModelImpl() 171 .type = operandType, in createLargeTestModelImpl() 197 .type = operandType, in createLargeTestModelImpl() 1012 const auto& [namedDevice, operandType] = info.param; in printCompilationCachingTest() 1013 const std::string type = (operandType == OperandType::TENSOR_FLOAT32 ? "float32" : "quant8"); in printCompilationCachingTest() 1170 const auto& [namedDevice, operandType, seed] = info.param; in printCompilationCachingSecurityTest() 1171 const std::string type = (operandType == OperandType::TENSOR_FLOAT32 ? "float32" : "quant8"); in printCompilationCachingSecurityTest()
|
D | MemoryDomainTests.cpp | 603 const auto& [namedDevice, operandType] = info.param; in printMemoryDomainAllocateTest() 604 const std::string type = toString(static_cast<OperandType>(operandType)); in printMemoryDomainAllocateTest() 859 const auto& [namedDevice, operandType] = info.param; in printMemoryDomainCopyTest() 860 const std::string type = toString(static_cast<OperandType>(operandType)); in printMemoryDomainCopyTest() 1222 const auto& [namedDevice, operandType, executor] = info.param; in printMemoryDomainExecutionTest() 1223 const std::string type = toString(static_cast<OperandType>(operandType)); in printMemoryDomainExecutionTest()
|
/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.2/utils/src/ |
D | Conversions.cpp | 94 GeneralResult<OperandType> unvalidatedConvert(const hal::V1_2::OperandType& operandType) { in unvalidatedConvert() argument 95 return static_cast<OperandType>(operandType); in unvalidatedConvert() 392 nn::GeneralResult<OperandType> unvalidatedConvert(const nn::OperandType& operandType) { in unvalidatedConvert() argument 393 return static_cast<OperandType>(operandType); in unvalidatedConvert()
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Conversions.cpp | 109 GeneralResult<OperandType> unvalidatedConvert(const hal::V1_3::OperandType& operandType) { in unvalidatedConvert() argument 110 return static_cast<OperandType>(operandType); in unvalidatedConvert() 455 nn::GeneralResult<OperandType> unvalidatedConvert(const nn::OperandType& operandType) { in unvalidatedConvert() argument 456 return static_cast<OperandType>(operandType); in unvalidatedConvert()
|