Lines Matching refs:operandPerformance
263 void update(hardware::hidl_vec<VersionedOperandPerformance<version>>* operandPerformance, in update() argument
265 CHECK(operandPerformance != nullptr); in update()
267 std::lower_bound(operandPerformance->begin(), operandPerformance->end(), type, in update()
270 CHECK(it != operandPerformance->end()) in update()
271 << toString(type) << " not in " << toString(*operandPerformance); in update()
275 void update(hardware::hidl_vec<V1_2::Capabilities::OperandPerformance>* operandPerformance, in update() argument
277 update<HalVersion::V1_2>(operandPerformance, type, perf); in update()
279 void update(hardware::hidl_vec<V1_3::Capabilities::OperandPerformance>* operandPerformance, in update() argument
281 update<HalVersion::V1_3>(operandPerformance, type, perf); in update()
286 const hardware::hidl_vec<VersionedOperandPerformance<version>>& operandPerformance, in lookup() argument
288 const auto it = std::lower_bound(operandPerformance.begin(), operandPerformance.end(), type, in lookup()
294 if (it == operandPerformance.end()) { in lookup()
303 const hardware::hidl_vec<V1_2::Capabilities::OperandPerformance>& operandPerformance, in lookup() argument
305 return lookup<HalVersion::V1_2>(operandPerformance, type); in lookup()
308 const hardware::hidl_vec<V1_3::Capabilities::OperandPerformance>& operandPerformance, in lookup() argument
312 return lookup<HalVersion::V1_3>(operandPerformance, type); in lookup()
330 lookup(capabilities.operandPerformance, V1_2::OperandType::TENSOR_QUANT8_ASYMM); in isQuantized8PerformanceConsistentWithP()
335 lookup(capabilities.operandPerformance, in isQuantized8PerformanceConsistentWithP()
342 lookup(capabilities.operandPerformance, V1_3::OperandType::TENSOR_QUANT8_ASYMM); in isQuantized8PerformanceConsistentWithP()
347 lookup(capabilities.operandPerformance, type); in isQuantized8PerformanceConsistentWithP()
374 lookup(capabilities.operandPerformance, V1_2::OperandType::TENSOR_FLOAT32); in compliantWithV1_0()
376 lookup(capabilities.operandPerformance, V1_2::OperandType::FLOAT32); in compliantWithV1_0()
388 lookup(capabilities.operandPerformance, V1_3::OperandType::TENSOR_FLOAT32); in compliantWithV1_0()
390 lookup(capabilities.operandPerformance, V1_3::OperandType::FLOAT32); in compliantWithV1_0()
411 (lookup(capabilities.operandPerformance, V1_2::OperandType::TENSOR_FLOAT32) != in compliantWithV1_1()
412 lookup(capabilities.operandPerformance, V1_2::OperandType::FLOAT32))) { in compliantWithV1_1()
422 (lookup(capabilities.operandPerformance, V1_3::OperandType::TENSOR_FLOAT32) != in compliantWithV1_1()
423 lookup(capabilities.operandPerformance, V1_3::OperandType::FLOAT32))) { in compliantWithV1_1()
566 lookup(capabilities.operandPerformance, V1_2::OperandType::TENSOR_FLOAT32), in convertToV1_0()
567 .quantized8Performance = lookup(capabilities.operandPerformance, in convertToV1_0()
577 lookup(capabilities.operandPerformance, V1_3::OperandType::TENSOR_FLOAT32), in convertToV1_0()
578 .quantized8Performance = lookup(capabilities.operandPerformance, in convertToV1_0()
598 lookup(capabilities.operandPerformance, V1_2::OperandType::TENSOR_FLOAT32), in convertToV1_1()
600 lookup(capabilities.operandPerformance, V1_2::OperandType::TENSOR_QUANT8_ASYMM), in convertToV1_1()
611 lookup(capabilities.operandPerformance, V1_3::OperandType::TENSOR_FLOAT32), in convertToV1_1()
613 lookup(capabilities.operandPerformance, V1_3::OperandType::TENSOR_QUANT8_ASYMM), in convertToV1_1()
622 .operandPerformance = in convertToV1_2()
624 auto& opPerf = ret.operandPerformance; in convertToV1_2()
642 .operandPerformance = makeQuantized8PerformanceConsistentWithP( in convertToV1_2()
644 auto& opPerf = ret.operandPerformance; in convertToV1_2()
668 const auto& inputOpPerf = capabilities.operandPerformance; in convertToV1_2()
678 auto& convertedOpPerf = ret.operandPerformance; in convertToV1_2()
705 auto& opPerf = ret.operandPerformance; in convertToV1_3()
706 opPerf.resize(capabilities.operandPerformance.size()); in convertToV1_3()
707 std::transform(capabilities.operandPerformance.begin(), capabilities.operandPerformance.end(), in convertToV1_3()
1598 const V1_3::Capabilities::OperandPerformance& operandPerformance) { in uncheckedConvert() argument
1599 return handleError(unvalidatedConvert(operandPerformance)); in uncheckedConvert()