/external/armnn/src/backends/backendsCommon/ |
D | LayerSupportBase.cpp | 21 armnn::Optional<std::string&> reasonIfUnsupported) in DefaultLayerSupport() argument 24 if (reasonIfUnsupported) in DefaultLayerSupport() 29 reasonIfUnsupported.value() = message.str(); in DefaultLayerSupport() 45 Optional<std::string&> reasonIfUnsupported) const in IsLayerSupported() 50 return IsMemCopySupported(infos[0], infos[1], reasonIfUnsupported); in IsLayerSupported() 52 return IsMemImportSupported(infos[0], infos[1], reasonIfUnsupported); in IsLayerSupported() 78 reasonIfUnsupported); in IsLayerSupported() 81 return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); in IsLayerSupported() 88 Optional<std::string&> reasonIfUnsupported) const in IsActivationSupported() 90 return DefaultLayerSupport(__func__, __FILE__, __LINE__, reasonIfUnsupported); in IsActivationSupported() [all …]
|
D | LayerSupportBase.hpp | 22 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 28 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 34 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 40 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 50 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 56 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 61 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 67 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 74 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 80 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; [all …]
|
/external/armnn/src/armnn/ |
D | ILayerSupport.cpp | 23 Optional<std::string&> reasonIfUnsupported) const in IsLayerSupported() 31 reasonIfUnsupported); in IsLayerSupported() 36 reasonIfUnsupported); in IsLayerSupported() 41 reasonIfUnsupported); in IsLayerSupported() 51 reasonIfUnsupported); in IsLayerSupported() 56 reasonIfUnsupported); in IsLayerSupported() 63 reasonIfUnsupported); in IsLayerSupported() 75 reasonIfUnsupported); in IsLayerSupported() 79 reasonIfUnsupported); in IsLayerSupported() 83 reasonIfUnsupported); in IsLayerSupported() [all …]
|
D | BackendHelper.cpp | 147 Optional<std::string&> reasonIfUnsupported) in IsActivationSupported() argument 156 reasonIfUnsupported); in IsActivationSupported() 162 Optional<std::string&> reasonIfUnsupported) in IsAdditionSupported() argument 171 reasonIfUnsupported); in IsAdditionSupported() 177 Optional<std::string&> reasonIfUnsupported) in IsArgMinMaxSupported() argument 186 reasonIfUnsupported); in IsArgMinMaxSupported() 193 Optional<std::string&> reasonIfUnsupported) in IsBatchMatMulSupported() argument 202 reasonIfUnsupported); in IsBatchMatMulSupported() 212 Optional<std::string&> reasonIfUnsupported) in IsBatchNormalizationSupported() argument 221 reasonIfUnsupported); in IsBatchNormalizationSupported() [all …]
|
D | LayerSupportCommon.hpp | 27 bool IsSupportedForDataTypeGeneric(Optional<std::string&> reasonIfUnsupported, in IsSupportedForDataTypeGeneric() argument 39 return float16FuncPtr(reasonIfUnsupported, std::forward<Params>(params)...); in IsSupportedForDataTypeGeneric() 41 return float32FuncPtr(reasonIfUnsupported, std::forward<Params>(params)...); in IsSupportedForDataTypeGeneric() 43 return uint8FuncPtr(reasonIfUnsupported, std::forward<Params>(params)...); in IsSupportedForDataTypeGeneric() 45 return int32FuncPtr(reasonIfUnsupported, std::forward<Params>(params)...); in IsSupportedForDataTypeGeneric() 47 return booleanFuncPtr(reasonIfUnsupported, std::forward<Params>(params)...); in IsSupportedForDataTypeGeneric() 54 bool TrueFunc(Optional<std::string&> reasonIfUnsupported, Params&&... params) in TrueFunc() argument 56 IgnoreUnused(reasonIfUnsupported); in TrueFunc() 62 bool FalseFunc(Optional<std::string&> reasonIfUnsupported, Params&&... params) in FalseFunc() argument 64 IgnoreUnused(reasonIfUnsupported); in FalseFunc() [all …]
|
/external/armnn/src/backends/cl/ |
D | ClLayerSupport.cpp | 115 bool IsClBackendSupported(Optional<std::string&> reasonIfUnsupported, Args... args) in IsClBackendSupported() argument 117 IgnoreUnused(reasonIfUnsupported, (args)...); in IsClBackendSupported() 121 if (reasonIfUnsupported) in IsClBackendSupported() 123 reasonIfUnsupported.value() = "The armnn library has been built without CL support"; in IsClBackendSupported() 132 #define FORWARD_CL_LAYER_SUPPORT_FUNC(expr) IsClBackendSupported(reasonIfUnsupported) 137 inline bool IsWorkloadSupported(FuncType&& func, Optional<std::string&> reasonIfUnsupported, Args&&… in IsWorkloadSupported() argument 141 if (!supported && reasonIfUnsupported) in IsWorkloadSupported() 143 reasonIfUnsupported.value() = aclStatus.error_description(); in IsWorkloadSupported() 148 #define FORWARD_WORKLOAD_VALIDATE_FUNC(func, reasonIfUnsupported, ...) \ argument 149 return IsWorkloadSupported(func, reasonIfUnsupported, __VA_ARGS__); [all …]
|
D | ClLayerSupport.hpp | 26 Optional<std::string&> reasonIfUnsupported) const override; 31 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 37 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 42 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 48 Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; 57 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 62 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 66 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 71 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 77 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; [all …]
|
/external/armnn/src/backends/neon/ |
D | NeonLayerSupport.cpp | 107 bool IsNeonBackendSupported(Optional<std::string&> reasonIfUnsupported, Args... args) in IsNeonBackendSupported() argument 109 IgnoreUnused(reasonIfUnsupported, (args)...); in IsNeonBackendSupported() 113 SetValueChecked(reasonIfUnsupported, "The armnn library has been built without NEON support"); in IsNeonBackendSupported() 119 bool IsSupportedForDataTypeNeon(Optional<std::string&> reasonIfUnsupported, in IsSupportedForDataTypeNeon() argument 125 return IsNeonBackendSupported(reasonIfUnsupported) && in IsSupportedForDataTypeNeon() 126 IsSupportedForDataTypeGeneric(reasonIfUnsupported, in IsSupportedForDataTypeNeon() 138 inline bool IsWorkloadSupported(FuncType& func, Optional<std::string&> reasonIfUnsupported, Args&&.… in IsWorkloadSupported() argument 142 if (!supported && reasonIfUnsupported) in IsWorkloadSupported() 144 reasonIfUnsupported.value() = aclStatus.error_description(); in IsWorkloadSupported() 149 #define FORWARD_WORKLOAD_VALIDATE_FUNC(func, reasonIfUnsupported, ...) \ argument [all …]
|
D | NeonLayerSupport.hpp | 27 Optional<std::string&> reasonIfUnsupported) const override; 32 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 37 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 42 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 48 Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; 57 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 62 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 66 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 71 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 77 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; [all …]
|
/external/armnn/src/backends/reference/ |
D | RefLayerSupport.cpp | 27 bool IsSupportedForDataTypeRef(Optional<std::string&> reasonIfUnsupported, in IsSupportedForDataTypeRef() argument 33 return IsSupportedForDataTypeGeneric(reasonIfUnsupported, in IsSupportedForDataTypeRef() 66 Optional<std::string&> reasonIfUnsupported) const in IsLayerSupported() 74 reasonIfUnsupported); in IsLayerSupported() 76 return IsAdditionSupported(infos[0], infos[1], infos[2], reasonIfUnsupported); in IsLayerSupported() 81 reasonIfUnsupported); in IsLayerSupported() 87 reasonIfUnsupported); in IsLayerSupported() 97 reasonIfUnsupported); in IsLayerSupported() 102 reasonIfUnsupported); in IsLayerSupported() 108 reasonIfUnsupported); in IsLayerSupported() [all …]
|
D | RefLayerSupport.hpp | 20 Optional<std::string&> reasonIfUnsupported) const override; 25 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 30 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 35 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 41 … Optional<std::string &> reasonIfUnsupported = EmptyOptional()) const; 50 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 55 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 59 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 64 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; 70 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override; [all …]
|
/external/armnn/include/armnn/ |
D | BackendHelper.hpp | 43 Optional<std::string&> reasonIfUnsupported = EmptyOptional()); 49 Optional<std::string&> reasonIfUnsupported = EmptyOptional()); 54 Optional<std::string&> reasonIfUnsupported = EmptyOptional()); 60 Optional<std::string&> reasonIfUnsupported = EmptyOptional()); 69 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()); 74 Optional<std::string&> reasonIfUnsupported = EmptyOptional()); 78 Optional<std::string&> reasonIfUnsupported = EmptyOptional()); 83 Optional<std::string&> reasonIfUnsupported = EmptyOptional()); 89 Optional<std::string&> reasonIfUnsupported = EmptyOptional()); 94 Optional<std::string&> reasonIfUnsupported = EmptyOptional()); [all …]
|
D | LayerSupport.hpp | 23 char* reasonIfUnsupported = nullptr, 31 char* reasonIfUnsupported = nullptr, 43 char* reasonIfUnsupported = nullptr, 51 char* reasonIfUnsupported = nullptr, 59 char* reasonIfUnsupported = nullptr, 65 char* reasonIfUnsupported = nullptr, 72 char* reasonIfUnsupported = nullptr, 79 char* reasonIfUnsupported = nullptr, 89 char* reasonIfUnsupported = nullptr, 96 char* reasonIfUnsupported = nullptr, [all …]
|
/external/armnn/include/armnn/backends/ |
D | ILayerSupport.hpp | 36 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; 43 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; 50 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; 57 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; 68 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; 75 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; 81 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; 88 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; 96 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; 103 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const; [all …]
|
/external/armnn/src/backends/reference/test/ |
D | RefLayerSupportTests.cpp | 84 std::string reasonIfUnsupported; variable 87 armnn::DataType::Float16, armnn::DataType::Float32>(reasonIfUnsupported); 94 std::string reasonIfUnsupported; variable 97 armnn::DataType::Float32, armnn::DataType::Float32>(reasonIfUnsupported); 100 CHECK_EQ(reasonIfUnsupported, "Layer is not supported with float32 data type input"); 105 std::string reasonIfUnsupported; variable 108 armnn::DataType::Float16, armnn::DataType::Float16>(reasonIfUnsupported); 111 CHECK_EQ(reasonIfUnsupported, "Layer is not supported with float16 data type output"); 116 std::string reasonIfUnsupported; variable 119 armnn::DataType::Float32, armnn::DataType::Float16>(reasonIfUnsupported); [all …]
|
/external/armnn/src/backends/cl/test/ |
D | ClLayerSupportTests.cpp | 62 std::string reasonIfUnsupported; variable 65 armnn::DataType::Float16, armnn::DataType::Float32>(reasonIfUnsupported); 72 std::string reasonIfUnsupported; variable 75 armnn::DataType::Float32, armnn::DataType::Float32>(reasonIfUnsupported); 78 CHECK_EQ(reasonIfUnsupported, "Input should be Float16"); 83 std::string reasonIfUnsupported; variable 86 armnn::DataType::Float16, armnn::DataType::Float16>(reasonIfUnsupported); 89 CHECK_EQ(reasonIfUnsupported, "Output should be Float32"); 94 std::string reasonIfUnsupported; variable 97 armnn::DataType::Float32, armnn::DataType::Float16>(reasonIfUnsupported); [all …]
|
/external/armnn/src/backends/neon/test/ |
D | NeonLayerSupportTests.cpp | 60 std::string reasonIfUnsupported; variable 63 armnn::DataType::Float16, armnn::DataType::Float32>(reasonIfUnsupported); 70 std::string reasonIfUnsupported; variable 73 armnn::DataType::Float32, armnn::DataType::Float16>(reasonIfUnsupported); 80 std::string reasonIfUnsupported; variable 83 armnn::DataType::Boolean, armnn::DataType::Boolean>(reasonIfUnsupported); 90 std::string reasonIfUnsupported; variable 93 armnn::DataType::Boolean, armnn::DataType::Boolean>(reasonIfUnsupported); 100 std::string reasonIfUnsupported; variable 103 armnn::DataType::Float32, armnn::DataType::Float32>(reasonIfUnsupported); [all …]
|
/external/armnn/src/backends/backendsCommon/test/mockBackend/ |
D | MockImportLayerSupport.hpp | 22 Optional<std::string&> reasonIfUnsupported) const override in IsLayerSupported() 27 return IsAdditionSupported(infos[0], infos[1], infos[2], reasonIfUnsupported); in IsLayerSupported() 34 return IsInputSupported(infos[0], reasonIfUnsupported); in IsLayerSupported() 36 return IsOutputSupported(infos[0], reasonIfUnsupported); in IsLayerSupported() 38 … return LayerSupportBase::IsMemCopySupported(infos[0], infos[1], reasonIfUnsupported); in IsLayerSupported() 40 … return LayerSupportBase::IsMemImportSupported(infos[0], infos[1], reasonIfUnsupported); in IsLayerSupported() 49 … Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override in IsAdditionSupported() argument 54 IgnoreUnused(reasonIfUnsupported); in IsAdditionSupported() 59 Optional<std::string&> reasonIfUnsupported) const override in IsInputSupported() 62 IgnoreUnused(reasonIfUnsupported); in IsInputSupported() [all …]
|
/external/armnn/src/dynamic/sample/ |
D | SampleDynamicLayerSupport.cpp | 22 … armnn::Optional<std::string&> reasonIfUnsupported) const in IsLayerSupported() 27 return IsInputSupported(infos[0], reasonIfUnsupported); in IsLayerSupported() 29 return IsOutputSupported(infos[0], reasonIfUnsupported); in IsLayerSupported() 34 reasonIfUnsupported); in IsLayerSupported() 41 … armnn::Optional<std::string&> reasonIfUnsupported) const in IsInputSupported() 47 … armnn::Optional<std::string&> reasonIfUnsupported) const in IsOutputSupported() 55 … armnn::Optional<std::string&> reasonIfUnsupported) const in IsAdditionSupported()
|
D | SampleDynamicLayerSupport.hpp | 19 … armnn::Optional<std::string&> reasonIfUnsupported = armnn::EmptyOptional()) const override; 22 armnn::Optional<std::string&> reasonIfUnsupported) const override; 25 armnn::Optional<std::string&> reasonIfUnsupported) const override; 32 … armnn::Optional<std::string&> reasonIfUnsupported = armnn::EmptyOptional()) const override;
|
/external/armnn/src/backends/neon/workloads/ |
D | NeonNormalizationFloatWorkload.cpp | 25 Optional<std::string&> reasonIfUnsupported) in IsNeonNormalizationDescriptorSupported() argument 29 if (reasonIfUnsupported) in IsNeonNormalizationDescriptorSupported() 31 …reasonIfUnsupported.value() = "Unsupported normalisation method type, only LocalBrightness is supp… in IsNeonNormalizationDescriptorSupported() 37 if (reasonIfUnsupported) in IsNeonNormalizationDescriptorSupported() 39 reasonIfUnsupported.value() = "Normalization size must be an odd number."; in IsNeonNormalizationDescriptorSupported() 73 std::string reasonIfUnsupported; in NeonNormalizationFloatWorkload() local 74 …NormalizationDescriptorSupported(m_Data.m_Parameters, Optional<std::string&>(reasonIfUnsupported))) in NeonNormalizationFloatWorkload() 76 throw UnimplementedException(reasonIfUnsupported); in NeonNormalizationFloatWorkload()
|
/external/armnn/include/armnnTestUtils/ |
D | MockBackend.hpp | 284 Optional<std::string&> reasonIfUnsupported) const override in IsLayerSupported() 289 return IsInputSupported(infos[0], reasonIfUnsupported); in IsLayerSupported() 291 return IsOutputSupported(infos[0], reasonIfUnsupported); in IsLayerSupported() 293 return IsAdditionSupported(infos[0], infos[1], infos[2], reasonIfUnsupported); in IsLayerSupported() 311 reasonIfUnsupported); in IsLayerSupported() 320 reasonIfUnsupported); in IsLayerSupported()
|
/external/armnn/src/backends/backendsCommon/test/ |
D | IsLayerSupportedTestImpl.hpp | 835 std::string reasonIfUnsupported; in IsLayerSupportedTest() local 836 if (FactoryType::IsLayerSupported(*layer.m_Layer, DataType, reasonIfUnsupported)) in IsLayerSupportedTest() 866 …std::string errorMsg = "layer expected no support (giving reason: " + reasonIfUnsupported + ") but… in IsLayerSupportedTest() 975 bool IsConvertLayerSupportedTests(std::string& reasonIfUnsupported) in IsConvertLayerSupportedTests() argument 991 bool result = FactoryType::IsLayerSupported(*layer, InputDataType, reasonIfUnsupported); in IsConvertLayerSupportedTests() 997 bool IsLogicalBinaryLayerSupportedTests(std::string& reasonIfUnsupported) in IsLogicalBinaryLayerSupportedTests() argument 1023 bool result = FactoryType::IsLayerSupported(*layer, InputDataType, reasonIfUnsupported); in IsLogicalBinaryLayerSupportedTests() 1029 bool IsLogicalBinaryLayerBroadcastSupportedTests(std::string& reasonIfUnsupported) in IsLogicalBinaryLayerBroadcastSupportedTests() argument 1055 bool result = FactoryType::IsLayerSupported(*layer, InputDataType, reasonIfUnsupported); in IsLogicalBinaryLayerBroadcastSupportedTests() 1061 bool IsMeanLayerSupportedTests(std::string& reasonIfUnsupported) in IsMeanLayerSupportedTests() argument [all …]
|
/external/armnn/src/backends/tosaReference/ |
D | TosaRefLayerSupport.cpp | 26 Optional<std::string&> reasonIfUnsupported) const in IsLayerSupported() 30 IgnoreUnused(reasonIfUnsupported); in IsLayerSupported()
|
/external/armnn/delegate/classic/src/ |
D | ClassicDelegateUtils.hpp | 37 std::string reasonIfUnsupported; \ 39 … layerSupportObject.func(__VA_ARGS__, armnn::Optional<std::string&>(reasonIfUnsupported)); \ 47 if (reasonIfUnsupported.size() > 0) \ 50 … "%s: not supported by armnn: %s", opName, reasonIfUnsupported.c_str()); \
|