Lines Matching refs:V1_2

462 void logModelToInfo(const V1_2::Model& model) {  in logModelToInfo()
873 if (halVersion < HalVersion::V1_2) { in validateOperation()
906 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
948 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
966 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
989 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1007 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1037 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1084 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1150 HalVersion minSupportedHalVersion = HalVersion::V1_2; in validateOperation()
1187 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1196 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1210 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1235 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1271 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1300 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1332 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1358 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1384 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1393 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1416 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1440 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1456 validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1488 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1496 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1508 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1552 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1597 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1635 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1663 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1688 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1721 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1786 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1815 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
1841 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_2)); in validateOperation()
2014 template hal::hidl_vec<V1_2::Capabilities::OperandPerformance>
2015 nonExtensionOperandPerformance<HalVersion::V1_2>(PerformanceInfo perf);
2032 void update(hidl_vec<V1_2::Capabilities::OperandPerformance>* operandPerformance, in update()
2033 V1_2::OperandType type, PerformanceInfo perf) { in update()
2034 update<HalVersion::V1_2>(operandPerformance, type, perf); in update()
2058 PerformanceInfo lookup(const hidl_vec<V1_2::Capabilities::OperandPerformance>& operandPerformance, in lookup()
2059 V1_2::OperandType type) { in lookup()
2060 return lookup<HalVersion::V1_2>(operandPerformance, type); in lookup()
2077 static bool isQuantized8PerformanceConsistentWithP(const V1_2::Capabilities& capabilities) { in isQuantized8PerformanceConsistentWithP()
2079 lookup(capabilities.operandPerformance, V1_2::OperandType::TENSOR_QUANT8_ASYMM); in isQuantized8PerformanceConsistentWithP()
2085 static_cast<V1_2::OperandType>(type)); in isQuantized8PerformanceConsistentWithP()
2100 static hidl_vec<V1_2::Capabilities::OperandPerformance> makeQuantized8PerformanceConsistentWithP( in makeQuantized8PerformanceConsistentWithP()
2102 hidl_vec<V1_2::Capabilities::OperandPerformance> ret( in makeQuantized8PerformanceConsistentWithP()
2107 [quantized8Performance](OperandType type) -> V1_2::Capabilities::OperandPerformance { in makeQuantized8PerformanceConsistentWithP()
2108 return {static_cast<V1_2::OperandType>(type), quantized8Performance}; in makeQuantized8PerformanceConsistentWithP()
2121 bool compliantWithV1_0(const V1_2::Capabilities& capabilities) { in compliantWithV1_0()
2123 lookup(capabilities.operandPerformance, V1_2::OperandType::TENSOR_FLOAT32); in compliantWithV1_0()
2125 lookup(capabilities.operandPerformance, V1_2::OperandType::FLOAT32); in compliantWithV1_0()
2157 bool compliantWithV1_1(const V1_2::Capabilities& capabilities) { in compliantWithV1_1()
2160 (lookup(capabilities.operandPerformance, V1_2::OperandType::TENSOR_FLOAT32) != in compliantWithV1_1()
2161 lookup(capabilities.operandPerformance, V1_2::OperandType::FLOAT32))) { in compliantWithV1_1()
2187 bool compliantWithV1_2(const V1_2::Capabilities&) { in compliantWithV1_2()
2203 bool compliantWithV1_3(const V1_2::Capabilities&) { in compliantWithV1_3()
2252 static V1_0::OperationType uncheckedConvertToV1_0(V1_2::OperationType type) { in uncheckedConvertToV1_0()
2264 static V1_1::OperationType uncheckedConvertToV1_1(V1_2::OperationType type) { in uncheckedConvertToV1_1()
2272 static V1_2::OperationType convertToV1_2(V1_0::OperationType type) { in convertToV1_2()
2273 return static_cast<V1_2::OperationType>(type); in convertToV1_2()
2276 static V1_2::OperationType convertToV1_2(V1_1::OperationType type) { in convertToV1_2()
2277 return static_cast<V1_2::OperationType>(type); in convertToV1_2()
2280 V1_2::OperationType uncheckedConvertToV1_2(V1_3::OperationType type) { in uncheckedConvertToV1_2()
2281 return static_cast<V1_2::OperationType>(type); in uncheckedConvertToV1_2()
2292 static V1_3::OperationType convertToV1_3(V1_2::OperationType type) { in convertToV1_3()
2309 V1_0::Capabilities convertToV1_0(const V1_2::Capabilities& capabilities) { in convertToV1_0()
2315 lookup(capabilities.operandPerformance, V1_2::OperandType::TENSOR_FLOAT32), in convertToV1_0()
2317 V1_2::OperandType::TENSOR_QUANT8_ASYMM)}; in convertToV1_0()
2341 V1_1::Capabilities convertToV1_1(const V1_2::Capabilities& capabilities) { in convertToV1_1()
2347 lookup(capabilities.operandPerformance, V1_2::OperandType::TENSOR_FLOAT32), in convertToV1_1()
2349 lookup(capabilities.operandPerformance, V1_2::OperandType::TENSOR_QUANT8_ASYMM), in convertToV1_1()
2367 V1_2::Capabilities convertToV1_2(const V1_0::Capabilities& capabilities) { in convertToV1_2()
2368 V1_2::Capabilities ret = { in convertToV1_2()
2375 opPerf[opPerf.size() - 2] = {V1_2::OperandType::TENSOR_FLOAT32, in convertToV1_2()
2377 opPerf[opPerf.size() - 1] = {V1_2::OperandType::FLOAT32, capabilities.float32Performance}; in convertToV1_2()
2378 using OperandPerformance = V1_2::Capabilities::OperandPerformance; in convertToV1_2()
2386 V1_2::Capabilities convertToV1_2(const V1_1::Capabilities& capabilities) { in convertToV1_2()
2387 V1_2::Capabilities ret = {.relaxedFloat32toFloat16PerformanceScalar = in convertToV1_2()
2395 opPerf[opPerf.size() - 2] = {V1_2::OperandType::TENSOR_FLOAT32, in convertToV1_2()
2397 opPerf[opPerf.size() - 1] = {V1_2::OperandType::FLOAT32, capabilities.float32Performance}; in convertToV1_2()
2398 using OperandPerformance = V1_2::Capabilities::OperandPerformance; in convertToV1_2()
2406 V1_2::Capabilities convertToV1_2(const V1_2::Capabilities& capabilities) { in convertToV1_2()
2410 V1_2::Capabilities convertToV1_2(const V1_3::Capabilities& capabilities) { in convertToV1_2()
2411 V1_2::Capabilities ret = { in convertToV1_2()
2423 return validOperandType(static_cast<V1_2::OperandType>(opPerf.type)); in convertToV1_2()
2431 return V1_2::Capabilities::OperandPerformance{ in convertToV1_2()
2432 static_cast<V1_2::OperandType>(opPerf.type), opPerf.info}; in convertToV1_2()
2445 V1_3::Capabilities convertToV1_3(const V1_2::Capabilities& capabilities) { in convertToV1_3()
2457 opPerf.begin(), [](V1_2::Capabilities::OperandPerformance opPerf) { in convertToV1_3()
2504 return validOperandType(static_cast<V1_2::OperandType>(operand.type)) && in compliantWithV1_2()
2536 case HalVersion::V1_2: in compliantWith()
2600 bool compliantWithV1_0(const V1_2::Model& model, std::set<uint32_t>* noncompliantOperations) { in compliantWithV1_0()
2616 bool compliantWithV1_1(const V1_2::Model& model, std::set<uint32_t>* noncompliantOperations) { in compliantWithV1_1()
2632 bool compliantWithV1_2(const V1_2::Model&, std::set<uint32_t>* noncompliantOperations) { in compliantWithV1_2()
2637 return compliantWith(HalVersion::V1_2, model, noncompliantOperations); in compliantWithV1_2()
2640 static V1_0::Operation uncheckedConvertToV1_0(const V1_2::Operation& operation) { in uncheckedConvertToV1_0()
2652 static V1_1::Operation uncheckedConvertToV1_1(const V1_2::Operation& operation) { in uncheckedConvertToV1_1()
2664 static V1_2::Operation convertToV1_2(const V1_0::Operation& operation) { in convertToV1_2()
2670 static V1_2::Operation convertToV1_2(const V1_1::Operation& operation) { in convertToV1_2()
2676 static V1_2::Operation uncheckedConvertToV1_2(const V1_3::Operation& operation) { in uncheckedConvertToV1_2()
2694 static V1_3::Operation convertToV1_3(const V1_2::Operation& operation) { in convertToV1_3()
2710 const hidl_vec<V1_2::Operation>& operations) { in uncheckedConvertToV1_0()
2714 [](const V1_2::Operation& operation) { return uncheckedConvertToV1_0(operation); }); in uncheckedConvertToV1_0()
2718 static hidl_vec<V1_2::Operation> uncheckedConvertToV1_2( in uncheckedConvertToV1_2()
2720 hidl_vec<V1_2::Operation> result(operations.size()); in uncheckedConvertToV1_2()
2728 const hidl_vec<V1_2::Operation>& operations) { in uncheckedConvertToV1_1()
2732 [](const V1_2::Operation& operation) { return uncheckedConvertToV1_1(operation); }); in uncheckedConvertToV1_1()
2745 static hidl_vec<V1_2::Operation> convertToV1_2(const hidl_vec<V1_0::Operation>& operations) { in convertToV1_2()
2746 hidl_vec<V1_2::Operation> result(operations.size()); in convertToV1_2()
2752 static hidl_vec<V1_2::Operation> convertToV1_2(const hidl_vec<V1_1::Operation>& operations) { in convertToV1_2()
2753 hidl_vec<V1_2::Operation> result(operations.size()); in convertToV1_2()
2773 static hidl_vec<V1_3::Operation> convertToV1_3(const hidl_vec<V1_2::Operation>& operations) { in convertToV1_3()
2776 [](const V1_2::Operation& operation) { return convertToV1_3(operation); }); in convertToV1_3()
2780 static bool compliantWithV1_0(const V1_2::OperandType& operandType) { in compliantWithV1_0()
2789 return validOperandType(static_cast<V1_2::OperandType>(operandType)); in compliantWithV1_2()
2792 V1_0::OperandType convertToV1_0(const V1_2::OperandType& operandType) { in convertToV1_0()
2800 V1_2::OperandType convertToV1_2(const V1_0::OperandType& operandType) { in convertToV1_2()
2801 return static_cast<V1_2::OperandType>(operandType); in convertToV1_2()
2804 V1_2::OperandType convertToV1_2(const V1_3::OperandType& operandType) { in convertToV1_2()
2809 return static_cast<V1_2::OperandType>(operandType); in convertToV1_2()
2856 V1_0::Operand convertToV1_0(const V1_2::Operand& operand) { in convertToV1_0()
2876 V1_2::Operand convertToV1_2(const V1_0::Operand& operand) { in convertToV1_2()
2886 V1_2::Operand convertToV1_2(const V1_3::Operand& operand) { in convertToV1_2()
2907 V1_3::Operand convertToV1_3(const V1_2::Operand& operand) { in convertToV1_3()
2926 hidl_vec<V1_0::Operand> convertToV1_0(const hidl_vec<V1_2::Operand>& operands) { in convertToV1_0()
2929 [](const V1_2::Operand& operand) { return convertToV1_0(operand); }); in convertToV1_0()
2940 hidl_vec<V1_2::Operand> convertToV1_2(const hidl_vec<V1_0::Operand>& operands) { in convertToV1_2()
2941 hidl_vec<V1_2::Operand> result(operands.size()); in convertToV1_2()
2947 hidl_vec<V1_2::Operand> convertToV1_2(const hidl_vec<V1_2::Operand>& operands) { in convertToV1_2()
2951 hidl_vec<V1_2::Operand> convertToV1_2(const hidl_vec<V1_3::Operand>& operands) { in convertToV1_2()
2952 hidl_vec<V1_2::Operand> result(operands.size()); in convertToV1_2()
2965 hidl_vec<V1_3::Operand> convertToV1_3(const hidl_vec<V1_2::Operand>& operands) { in convertToV1_3()
2968 [](const V1_2::Operand& operand) { return convertToV1_3(operand); }); in convertToV1_3()
2993 V1_0::Model convertToV1_0(const V1_2::Model& model) { in convertToV1_0()
3033 V1_1::Model convertToV1_1(const V1_2::Model& model) { in convertToV1_1()
3062 V1_2::Model convertToV1_2(const V1_0::Model& model) { in convertToV1_2()
3072 V1_2::Model convertToV1_2(const V1_1::Model& model) { in convertToV1_2()
3082 V1_2::Model convertToV1_2(const V1_2::Model& model) { in convertToV1_2()
3086 V1_2::Model convertToV1_2(const V1_3::Model& model) { in convertToV1_2()
3121 V1_3::Model convertToV1_3(const V1_2::Model& model) { in convertToV1_3()