Home
last modified time | relevance | path

Searched refs:OperandPerformance (Results 1 – 11 of 11) sorted by relevance

/packages/modules/NeuralNetworks/common/include/
DLegacyHalUtils.h66 using OperandPerformance = V1_2::Capabilities::OperandPerformance;
72 using OperandPerformance = V1_3::Capabilities::OperandPerformance;
77 using VersionedOperandPerformance = typename VersionedType<version>::OperandPerformance;
97 void update(hardware::hidl_vec<V1_2::Capabilities::OperandPerformance>* operandPerformance,
99 void update(hardware::hidl_vec<V1_3::Capabilities::OperandPerformance>* operandPerformance,
106 const hardware::hidl_vec<V1_2::Capabilities::OperandPerformance>& operandPerformance,
109 const hardware::hidl_vec<V1_3::Capabilities::OperandPerformance>& operandPerformance,
333 Capabilities::OperandPerformance uncheckedConvert(
334 const V1_3::Capabilities::OperandPerformance& operandPerformance);
/packages/modules/NeuralNetworks/common/
DLegacyHalUtils.cpp257 template hardware::hidl_vec<V1_2::Capabilities::OperandPerformance>
259 template hardware::hidl_vec<V1_3::Capabilities::OperandPerformance>
275 void update(hardware::hidl_vec<V1_2::Capabilities::OperandPerformance>* operandPerformance, in update()
279 void update(hardware::hidl_vec<V1_3::Capabilities::OperandPerformance>* operandPerformance, in update()
303 const hardware::hidl_vec<V1_2::Capabilities::OperandPerformance>& operandPerformance, in lookup()
308 const hardware::hidl_vec<V1_3::Capabilities::OperandPerformance>& operandPerformance, in lookup()
351 static hardware::hidl_vec<V1_2::Capabilities::OperandPerformance>
353 hardware::hidl_vec<V1_2::Capabilities::OperandPerformance> ret( in makeQuantized8PerformanceConsistentWithP()
358 V1_3::OperandType type) -> V1_2::Capabilities::OperandPerformance { in makeQuantized8PerformanceConsistentWithP()
629 using OperandPerformance = V1_2::Capabilities::OperandPerformance; in convertToV1_2() typedef
[all …]
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DTypes.h279 struct OperandPerformance { struct
287 std::vector<OperandPerformance> operandPerformances);
290 const std::vector<OperandPerformance>& asVector() const;
293 explicit OperandPerformanceTable(std::vector<OperandPerformance> operandPerformances);
294 std::vector<OperandPerformance> mSorted;
DTypeUtils.h104 const Capabilities::OperandPerformance& operandPerformance);
142 bool operator==(const Capabilities::OperandPerformance& a,
143 const Capabilities::OperandPerformance& b);
144 bool operator!=(const Capabilities::OperandPerformance& a,
145 const Capabilities::OperandPerformance& b);
/packages/modules/NeuralNetworks/common/types/src/
DTypeUtils.cpp67 std::vector<Capabilities::OperandPerformance> makeOperandPerformance( in makeOperandPerformance()
89 std::vector<Capabilities::OperandPerformance> operandPerformance; in makeOperandPerformance()
93 return Capabilities::OperandPerformance{.type = op, .info = perfInfo}; in makeOperandPerformance()
98 void update(std::vector<Capabilities::OperandPerformance>* operandPerformance, OperandType type, in update()
102 [](const Capabilities::OperandPerformance& perf, OperandType type) { in update()
519 const Capabilities::OperandPerformance& operandPerformance) { in operator <<()
804 bool operator==(const Capabilities::OperandPerformance& a, in operator ==()
805 const Capabilities::OperandPerformance& b) { in operator ==()
808 bool operator!=(const Capabilities::OperandPerformance& a, in operator !=()
809 const Capabilities::OperandPerformance& b) { in operator !=()
DTypes.cpp85 std::vector<OperandPerformance> operandPerformances) in OperandPerformanceTable()
89 std::vector<OperandPerformance> operandPerformances) { in create()
116 const std::vector<Capabilities::OperandPerformance>&
DValidation.cpp271 const Capabilities::OperandPerformance& operandPerformance) { in validateCapabilitiesOperandPerformance()
/packages/modules/NeuralNetworks/driver/sample/
DCanonicalDevice.cpp68 std::vector<Capabilities::OperandPerformance> operandPerformance; in makeCapabilities()
72 return Capabilities::OperandPerformance{.type = op, .info = kPerfInfo}; in makeCapabilities()
/packages/modules/NeuralNetworks/shim_and_sl/
DShimDevice.cpp123 auto* out = static_cast<std::vector<OperandPerformance>*>(context); in getCapabilities()
124 out->push_back(OperandPerformance{ in getCapabilities()
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec7032 %define OperandPerformanceTable vec<OperandPerformance>
7087 %section OperandPerformance
7093 struct OperandPerformance {
7119 %insert-indented 4 OperandPerformance
7124 std::vector<OperandPerformance> operandPerformances);
7127 const std::vector<OperandPerformance>& asVector() const;
7130 explicit OperandPerformanceTable(std::vector<OperandPerformance> operandPerformances);
7131 std::vector<OperandPerformance> mSorted;
7151 %insert-indented 4 OperandPerformance
7158 %insert-indented 4 OperandPerformance
/packages/modules/NeuralNetworks/runtime/
DNeuralNetworks.cpp1845 constexpr auto conv = [](const Capabilities::OperandPerformance& operandPerformance) { in SL_ANeuralNetworksDevice_forEachOperandPerformanceInfo()