Lines Matching refs:operandPerformance
2020 void update(hal::hidl_vec<VersionedOperandPerformance<version>>* operandPerformance, in update() argument
2022 CHECK(operandPerformance != nullptr); in update()
2024 std::lower_bound(operandPerformance->begin(), operandPerformance->end(), type, in update()
2027 CHECK(it != operandPerformance->end()) in update()
2028 << toString(type) << " not in " << toString(*operandPerformance); in update()
2032 void update(hidl_vec<V1_2::Capabilities::OperandPerformance>* operandPerformance, in update() argument
2034 update<HalVersion::V1_2>(operandPerformance, type, perf); in update()
2036 void update(hidl_vec<V1_3::Capabilities::OperandPerformance>* operandPerformance, in update() argument
2038 update<HalVersion::V1_3>(operandPerformance, type, perf); in update()
2042 PerformanceInfo lookup(const hidl_vec<VersionedOperandPerformance<version>>& operandPerformance, in lookup() argument
2044 const auto it = std::lower_bound(operandPerformance.begin(), operandPerformance.end(), type, in lookup()
2050 if (it == operandPerformance.end()) { in lookup()
2058 PerformanceInfo lookup(const hidl_vec<V1_2::Capabilities::OperandPerformance>& operandPerformance, in lookup() argument
2060 return lookup<HalVersion::V1_2>(operandPerformance, type); in lookup()
2062 PerformanceInfo lookup(const hidl_vec<V1_3::Capabilities::OperandPerformance>& operandPerformance, in lookup() argument
2066 return lookup<HalVersion::V1_3>(operandPerformance, type); in lookup()
2079 lookup(capabilities.operandPerformance, V1_2::OperandType::TENSOR_QUANT8_ASYMM); in isQuantized8PerformanceConsistentWithP()
2084 lookup(capabilities.operandPerformance, in isQuantized8PerformanceConsistentWithP()
2091 lookup(capabilities.operandPerformance, OperandType::TENSOR_QUANT8_ASYMM); in isQuantized8PerformanceConsistentWithP()
2096 lookup(capabilities.operandPerformance, type); in isQuantized8PerformanceConsistentWithP()
2123 lookup(capabilities.operandPerformance, V1_2::OperandType::TENSOR_FLOAT32); in compliantWithV1_0()
2125 lookup(capabilities.operandPerformance, V1_2::OperandType::FLOAT32); in compliantWithV1_0()
2137 lookup(capabilities.operandPerformance, OperandType::TENSOR_FLOAT32); in compliantWithV1_0()
2139 lookup(capabilities.operandPerformance, OperandType::FLOAT32); in compliantWithV1_0()
2160 (lookup(capabilities.operandPerformance, V1_2::OperandType::TENSOR_FLOAT32) != in compliantWithV1_1()
2161 lookup(capabilities.operandPerformance, V1_2::OperandType::FLOAT32))) { in compliantWithV1_1()
2171 (lookup(capabilities.operandPerformance, OperandType::TENSOR_FLOAT32) != in compliantWithV1_1()
2172 lookup(capabilities.operandPerformance, OperandType::FLOAT32))) { in compliantWithV1_1()
2315 lookup(capabilities.operandPerformance, V1_2::OperandType::TENSOR_FLOAT32), in convertToV1_0()
2316 .quantized8Performance = lookup(capabilities.operandPerformance, in convertToV1_0()
2326 lookup(capabilities.operandPerformance, OperandType::TENSOR_FLOAT32), in convertToV1_0()
2328 lookup(capabilities.operandPerformance, OperandType::TENSOR_QUANT8_ASYMM)}; in convertToV1_0()
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()
2360 lookup(capabilities.operandPerformance, OperandType::TENSOR_FLOAT32), in convertToV1_1()
2362 lookup(capabilities.operandPerformance, OperandType::TENSOR_QUANT8_ASYMM), in convertToV1_1()
2371 .operandPerformance = in convertToV1_2()
2373 auto& opPerf = ret.operandPerformance; in convertToV1_2()
2391 .operandPerformance = makeQuantized8PerformanceConsistentWithP( in convertToV1_2()
2393 auto& opPerf = ret.operandPerformance; in convertToV1_2()
2417 const auto& inputOpPerf = capabilities.operandPerformance; in convertToV1_2()
2427 auto& convertedOpPerf = ret.operandPerformance; in convertToV1_2()
2454 auto& opPerf = ret.operandPerformance; in convertToV1_3()
2455 opPerf.resize(capabilities.operandPerformance.size()); in convertToV1_3()
2456 std::transform(capabilities.operandPerformance.begin(), capabilities.operandPerformance.end(), in convertToV1_3()