Home
last modified time | relevance | path

Searched refs:operandPerformance (Results 1 – 14 of 14) sorted by relevance

/frameworks/ml/nn/driver/sample/
DSampleDriverFloatFast.cpp48 .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()
DSampleDriverFloatSlow.cpp48 .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()
DSampleDriverMinimal.cpp49 .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()
DSampleDriverFull.cpp34 .operandPerformance = nonExtensionOperandPerformance(mPerf)}; in getCapabilities_1_2()
DSampleDriverQuant.cpp48 .operandPerformance = nonExtensionOperandPerformance({50.0f, 1.0f})}; in getCapabilities_1_2()
/frameworks/ml/nn/common/
DUtils.cpp1818 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/
DUtils.h168 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/
DFibonacciDriver.cpp178 .operandPerformance = nonExtensionOperandPerformance(kPerf)}; in getCapabilities_1_2()
/frameworks/ml/nn/runtime/test/
DTestCompilationCaching.cpp118 .operandPerformance = android::nn::nonExtensionOperandPerformance(kPerf)}; in getCapabilities_1_2()
DTestIntrospectionControl.cpp114 .operandPerformance = nn::nonExtensionOperandPerformance(perfInfo)}; in DeviceSpecification()
443 .operandPerformance = nn::nonExtensionOperandPerformance(kPerf)}; in getCapabilities_1_2()
DTestPartitioning.cpp162 .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()
DTestExecution.cpp167 .operandPerformance = nn::nonExtensionOperandPerformance(kPerf)}; in getCapabilities_1_2()
DTestPartitioningRandom.cpp560 .operandPerformance = nn::nonExtensionOperandPerformance(kPerf)}; in getCapabilities_1_2()
/frameworks/ml/nn/runtime/
DManager.cpp225 return lookup(mCapabilities.operandPerformance, type); in getPerformance()