Searched refs:operandPerformance (Results 1 – 14 of 14) sorted by relevance
/frameworks/ml/nn/driver/sample/ |
D | SampleDriverFloatFast.cpp | 48 .operandPerformance = nonExtensionOperandPerformance({1.0f, 1.0f})}; in getCapabilities_1_2() 49 update(&capabilities.operandPerformance, OperandType::TENSOR_FLOAT32, in getCapabilities_1_2() 51 update(&capabilities.operandPerformance, OperandType::FLOAT32, in getCapabilities_1_2()
|
D | SampleDriverFloatSlow.cpp | 48 .operandPerformance = nonExtensionOperandPerformance({1.0f, 1.0f})}; in getCapabilities_1_2() 49 update(&capabilities.operandPerformance, OperandType::TENSOR_FLOAT32, in getCapabilities_1_2() 51 update(&capabilities.operandPerformance, OperandType::FLOAT32, in getCapabilities_1_2()
|
D | SampleDriverMinimal.cpp | 49 .operandPerformance = nonExtensionOperandPerformance({1.0f, 1.0f})}; in getCapabilities_1_2() 50 update(&capabilities.operandPerformance, OperandType::TENSOR_FLOAT32, in getCapabilities_1_2() 52 update(&capabilities.operandPerformance, OperandType::FLOAT32, in getCapabilities_1_2()
|
D | SampleDriverFull.cpp | 34 .operandPerformance = nonExtensionOperandPerformance(mPerf)}; in getCapabilities_1_2()
|
D | SampleDriverQuant.cpp | 48 .operandPerformance = nonExtensionOperandPerformance({50.0f, 1.0f})}; in getCapabilities_1_2()
|
/frameworks/ml/nn/common/ |
D | Utils.cpp | 1818 void update(hidl_vec<Capabilities::OperandPerformance>* operandPerformance, OperandType type, in update() argument 1820 CHECK(operandPerformance != nullptr); in update() 1821 const auto it = std::lower_bound(operandPerformance->begin(), operandPerformance->end(), type, in update() 1824 CHECK(it != operandPerformance->end()) in update() 1825 << toString(type) << " not in " << toString(*operandPerformance); in update() 1829 PerformanceInfo lookup(const hidl_vec<Capabilities::OperandPerformance>& operandPerformance, in lookup() argument 1831 const auto it = std::lower_bound(operandPerformance.begin(), operandPerformance.end(), type, in lookup() 1834 if (it == operandPerformance.end()) { in lookup() 1852 lookup(capabilities.operandPerformance, OperandType::TENSOR_QUANT8_ASYMM); in isQuantized8PerformanceConsistentWithP() 1857 lookup(capabilities.operandPerformance, type); in isQuantized8PerformanceConsistentWithP() [all …]
|
/frameworks/ml/nn/common/include/ |
D | Utils.h | 168 void update(hidl_vec<Capabilities::OperandPerformance>* operandPerformance, OperandType type, 174 PerformanceInfo lookup(const hidl_vec<Capabilities::OperandPerformance>& operandPerformance,
|
/frameworks/ml/nn/runtime/test/fibonacci_extension/ |
D | FibonacciDriver.cpp | 178 .operandPerformance = nonExtensionOperandPerformance(kPerf)}; in getCapabilities_1_2()
|
/frameworks/ml/nn/runtime/test/ |
D | TestCompilationCaching.cpp | 118 .operandPerformance = android::nn::nonExtensionOperandPerformance(kPerf)}; in getCapabilities_1_2()
|
D | TestIntrospectionControl.cpp | 114 .operandPerformance = nn::nonExtensionOperandPerformance(perfInfo)}; in DeviceSpecification() 443 .operandPerformance = nn::nonExtensionOperandPerformance(kPerf)}; in getCapabilities_1_2()
|
D | TestPartitioning.cpp | 162 .operandPerformance = ::android::nn::nonExtensionOperandPerformance(perfInfo)}; in makeCapabilities() 167 ::android::nn::update(&capabilities->operandPerformance, type, perfInfo); in update() 171 return ::android::nn::lookup(capabilities.operandPerformance, type).execTime; in lookupExecTime() 730 .operandPerformance = ::android::nn::nonExtensionOperandPerformance( in DeviceSpecification()
|
D | TestExecution.cpp | 167 .operandPerformance = nn::nonExtensionOperandPerformance(kPerf)}; in getCapabilities_1_2()
|
D | TestPartitioningRandom.cpp | 560 .operandPerformance = nn::nonExtensionOperandPerformance(kPerf)}; in getCapabilities_1_2()
|
/frameworks/ml/nn/runtime/ |
D | Manager.cpp | 225 return lookup(mCapabilities.operandPerformance, type); in getPerformance()
|