Searched refs:halVersion (Results 1 – 7 of 7) sorted by relevance
/packages/modules/NeuralNetworks/common/ |
D | LegacyUtils.cpp | 158 static Version convert(HalVersion halVersion) { in convert() argument 159 switch (halVersion) { in convert() 173 LOG(FATAL) << "Cannot convert " << halVersion; in convert() 572 static int validateHalVersion(ANeuralNetworksOperationType opType, HalVersion halVersion, in validateHalVersion() argument 574 if (halVersion < minSupportedHalVersion) { in validateHalVersion() 577 << " and later (validating using " << halVersion << ")"; in validateHalVersion() 736 HalVersion halVersion, const SubgraphValidationHelper& helper) { in validateOperation() argument 745 if (halVersion < HalVersion::V1_2) { in validateOperation() 748 << halVersion; in validateOperation() 774 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_0)); in validateOperation() [all …]
|
D | LegacyHalUtils.cpp | 192 static int validateHalVersion(ANeuralNetworksOperationType opType, HalVersion halVersion, in validateHalVersion() argument 194 if (halVersion < minSupportedHalVersion) { in validateHalVersion() 197 << " and later (validating using " << halVersion << ")"; in validateHalVersion() 206 const std::vector<Operand>& operands, HalVersion halVersion) { in validateOperation() argument 208 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation() 213 halVersion, {}); in validateOperation()
|
D | TypeUtils.cpp | 897 std::ostream& operator<<(std::ostream& os, const HalVersion& halVersion) { in operator <<() argument 898 switch (halVersion) { in operator <<() 912 return os << "HalVersion{" << underlyingType(halVersion) << "}"; in operator <<()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestPartitioning.cpp | 1019 HalVersion halVersion = HalVersion::LATEST, in DeviceSpecification() 1021 : DeviceSpecification(name, perf, perf, operationMask, oem, halVersion, 1026 HalVersion halVersion = HalVersion::LATEST, in DeviceSpecification() 1029 halVersion, operationTypes) {} 1033 HalVersion halVersion = HalVersion::LATEST, in DeviceSpecification() 1035 : DeviceSpecification(name, version, perf, perf, operationMask, oem, halVersion, 1040 HalVersion halVersion = HalVersion::LATEST, in DeviceSpecification() 1044 mHalVersion(halVersion), 1060 DeviceSpecification(const std::string& name, float perf, HalVersion halVersion, in DeviceSpecification() 1065 makeOperationMask(halVersion, operationMaskV1_0, operationMaskV1_1, in DeviceSpecification() [all …]
|
/packages/modules/NeuralNetworks/runtime/test/fuzzing/ |
D | TestRandomGraph.cpp | 462 #define TEST_SINGLE_OPERATION(operation, halVersion, criteria) \ argument 463 TEST_P(SingleOperationTest, operation##_##halVersion) { \ 465 .versions = {TestHalVersion::halVersion}}; \
|
/packages/modules/NeuralNetworks/common/include/ |
D | LegacyUtils.h | 263 HalVersion halVersion, const SubgraphValidationHelper& helper);
|
/packages/modules/NeuralNetworks/common/include/nnapi/ |
D | TypeUtils.h | 137 std::ostream& operator<<(std::ostream& os, const HalVersion& halVersion);
|