/external/armnn/src/backends/aclCommon/ |
D | ArmComputeSubgraphUtils.hpp | 53 template<typename LayerType> 54 LayerType* FuseLayer(OptimizationViews& optimizationViews, in FuseLayer() 55 LayerType* baseLayer, in FuseLayer() 56 LayerType* replacementLayer, in FuseLayer() 73 template<typename LayerType> 74 LayerType* FuseAdditionLayer(OptimizationViews& optimizationViews, in FuseAdditionLayer() 75 LayerType* baseLayer, in FuseAdditionLayer() 83 LayerType* replacementLayer = PolymorphicDowncast<LayerType*>(replacement); in FuseAdditionLayer() 94 template<typename LayerType> 95 LayerType* FuseSubtractionLayer(OptimizationViews& optimizationViews, in FuseSubtractionLayer() [all …]
|
/external/armnn/src/backends/neon/ |
D | NeonTensorHandleFactory.hpp | 16 const std::set<armnn::LayerType> paddingRequiredLayers { 17 LayerType::ArgMinMax, 18 LayerType::Convolution2d, 19 LayerType::DepthToSpace, 20 LayerType::DepthwiseConvolution2d, 21 LayerType::Dequantize, 22 LayerType::FullyConnected, 23 LayerType::Gather, 24 LayerType::Lstm, 25 LayerType::Mean, [all …]
|
D | NeonWorkloadFactory.cpp | 134 std::unique_ptr<IWorkload> NeonWorkloadFactory::CreateWorkload(LayerType type, in CreateWorkload() 140 case LayerType::Activation : in CreateWorkload() 145 case LayerType::Addition : in CreateWorkload() 150 case LayerType::ArgMinMax : in CreateWorkload() 155 case LayerType::BatchMatMul : in CreateWorkload() 160 case LayerType::BatchNormalization : in CreateWorkload() 166 case LayerType::BatchToSpaceNd : in CreateWorkload() 172 case LayerType::Cast : in CreateWorkload() 177 case LayerType::ChannelShuffle : in CreateWorkload() 182 case LayerType::Comparison : in CreateWorkload() [all …]
|
D | NeonLayerSupport.cpp | 167 bool IsLayerTypeSupported(const LayerType& type, in IsLayerTypeSupported() 177 case LayerType::Activation: in IsLayerTypeSupported() 182 case LayerType::Addition: in IsLayerTypeSupported() 184 case LayerType::ArgMinMax: in IsLayerTypeSupported() 189 case LayerType::BatchMatMul: in IsLayerTypeSupported() 195 case LayerType::BatchNormalization: in IsLayerTypeSupported() 205 case LayerType::BatchToSpaceNd: in IsLayerTypeSupported() 211 case LayerType::Cast: in IsLayerTypeSupported() 213 case LayerType::ChannelShuffle: in IsLayerTypeSupported() 219 case LayerType::Comparison: in IsLayerTypeSupported() [all …]
|
D | NeonBackend.cpp | 164 …if ((base.GetType() == LayerType::DepthwiseConvolution2d || base.GetType() == LayerType::Convoluti… in OptimizeSubgraphView() 165 … || base.GetType() == LayerType::BatchNormalization || base.GetType() == LayerType::FullyConnected in OptimizeSubgraphView() 166 || base.GetType() == LayerType::Addition || base.GetType() == LayerType::Multiplication in OptimizeSubgraphView() 167 || base.GetType() == LayerType::Subtraction || base.GetType() == LayerType::Division) in OptimizeSubgraphView() 176 if ((childInput->GetOwningLayer().GetType() == LayerType::Activation) && in OptimizeSubgraphView() 189 if (base.GetType() == LayerType::Convolution2d) in OptimizeSubgraphView() 220 else if (base.GetType() == LayerType::DepthwiseConvolution2d) in OptimizeSubgraphView() 251 else if (base.GetType() == LayerType::FullyConnected) in OptimizeSubgraphView() 282 else if (base.GetType() == LayerType::BatchNormalization) in OptimizeSubgraphView() 314 else if (base.GetType() == LayerType::Addition) in OptimizeSubgraphView() [all …]
|
/external/armnn/src/backends/tosaReference/ |
D | TosaRefLayerSupport.cpp | 21 bool TosaRefLayerSupport::IsLayerSupported(const LayerType& type, in IsLayerSupported() 37 case LayerType::Input: in IsLayerSupported() 38 case LayerType::Output: in IsLayerSupported() 40 case LayerType::Addition: in IsLayerSupported() 41 case LayerType::Multiplication: in IsLayerSupported() 42 case LayerType::Subtraction: in IsLayerSupported() 48 case LayerType::Concat: in IsLayerSupported() 55 case LayerType::Constant: in IsLayerSupported() 58 case LayerType::Convolution2d: in IsLayerSupported() 71 case LayerType::ElementwiseUnary: in IsLayerSupported() [all …]
|
/external/armnn/src/armnn/ |
D | ILayerSupport.cpp | 18 bool ILayerSupport::IsLayerSupported(const LayerType& type, in IsLayerSupported() 27 case LayerType::Activation: in IsLayerSupported() 32 case LayerType::Addition: in IsLayerSupported() 37 case LayerType::ArgMinMax: in IsLayerSupported() 42 case LayerType::BatchNormalization: in IsLayerSupported() 52 case LayerType::BatchToSpaceNd: in IsLayerSupported() 57 case LayerType::Comparison: in IsLayerSupported() 65 case LayerType::Concat: in IsLayerSupported() 77 case LayerType::Constant: in IsLayerSupported() 80 case LayerType::ConvertFp16ToFp32: in IsLayerSupported() [all …]
|
D | BackendHelper.cpp | 151 return m_LayerSupport->IsLayerSupported(LayerType::Activation, in IsActivationSupported() 166 return m_LayerSupport->IsLayerSupported(LayerType::Addition, in IsAdditionSupported() 181 return m_LayerSupport->IsLayerSupported(LayerType::ArgMinMax, in IsArgMinMaxSupported() 197 return m_LayerSupport->IsLayerSupported(LayerType::BatchMatMul, in IsBatchMatMulSupported() 216 return m_LayerSupport->IsLayerSupported(LayerType::BatchNormalization, in IsBatchNormalizationSupported() 231 return m_LayerSupport->IsLayerSupported(LayerType::BatchToSpaceNd, in IsBatchToSpaceNdSupported() 245 return m_LayerSupport->IsLayerSupported(LayerType::Cast, in IsCastSupported() 260 return m_LayerSupport->IsLayerSupported(LayerType::ChannelShuffle, in IsChannelShuffleSupported() 276 return m_LayerSupport->IsLayerSupported(LayerType::Comparison, in IsComparisonSupported() 296 return m_LayerSupport->IsLayerSupported(LayerType::Concat, in IsConcatSupported() [all …]
|
/external/armnn/src/backends/reference/ |
D | RefWorkloadFactory.cpp | 144 std::unique_ptr<IWorkload> RefWorkloadFactory::CreateWorkload(LayerType type, in CreateWorkload() 150 case LayerType::Activation : in CreateWorkload() 155 case LayerType::Addition : in CreateWorkload() 168 case LayerType::ArgMinMax : in CreateWorkload() 173 case LayerType::BatchMatMul: in CreateWorkload() 178 case LayerType::BatchNormalization : in CreateWorkload() 183 case LayerType::BatchToSpaceNd : in CreateWorkload() 189 case LayerType::Cast : in CreateWorkload() 194 case LayerType::ChannelShuffle : in CreateWorkload() 200 case LayerType::Comparison : in CreateWorkload() [all …]
|
/external/armnn/src/backends/cl/ |
D | ClLayerSupport.cpp | 184 bool ClLayerSupport::IsLayerSupported(const LayerType& type, in IsLayerSupported() 193 case LayerType::Activation: in IsLayerSupported() 198 case LayerType::Addition: in IsLayerSupported() 202 case LayerType::ArgMinMax: in IsLayerSupported() 207 case LayerType::BatchMatMul: in IsLayerSupported() 213 case LayerType::BatchNormalization: in IsLayerSupported() 223 case LayerType::BatchToSpaceNd: in IsLayerSupported() 228 case LayerType::Cast: in IsLayerSupported() 230 case LayerType::ChannelShuffle: in IsLayerSupported() 235 case LayerType::Comparison: in IsLayerSupported() [all …]
|
D | ClWorkloadFactory.cpp | 247 std::unique_ptr<IWorkload> ClWorkloadFactory::CreateWorkload(LayerType type, in CreateWorkload() 253 case LayerType::Activation : in CreateWorkload() 258 case LayerType::Addition : in CreateWorkload() 263 case LayerType::ArgMinMax : in CreateWorkload() 268 case LayerType::BatchMatMul : in CreateWorkload() 273 case LayerType::BatchNormalization : in CreateWorkload() 280 case LayerType::BatchToSpaceNd : in CreateWorkload() 286 case LayerType::Cast : in CreateWorkload() 291 case LayerType::ChannelShuffle : in CreateWorkload() 297 case LayerType::Comparison : in CreateWorkload() [all …]
|
/external/armnn/src/backends/tosaCommon/ |
D | TosaMappings.cpp | 19 const LayerType type, in GetTosaMapping() 26 case LayerType::Addition: in GetTosaMapping() 27 case LayerType::Multiplication: in GetTosaMapping() 28 case LayerType::Subtraction: in GetTosaMapping() 32 case LayerType::ElementwiseUnary: in GetTosaMapping() 37 case LayerType::Concat: in GetTosaMapping() 42 case LayerType::Constant: in GetTosaMapping() 46 case LayerType::Convolution2d: in GetTosaMapping() 51 case LayerType::Pooling2d: in GetTosaMapping() 72 case LayerType::Reshape: in GetTosaMapping() [all …]
|
/external/armnn/src/backends/backendsCommon/ |
D | WorkloadFactory.cpp | 98 case LayerType::Activation: in IsLayerConfigurationSupported() 110 case LayerType::Addition: in IsLayerConfigurationSupported() 124 case LayerType::ArgMinMax: in IsLayerConfigurationSupported() 138 case LayerType::BatchMatMul: in IsLayerConfigurationSupported() 154 case LayerType::BatchNormalization: in IsLayerConfigurationSupported() 174 case LayerType::BatchToSpaceNd: in IsLayerConfigurationSupported() 186 case LayerType::Cast: in IsLayerConfigurationSupported() 196 case LayerType::ChannelShuffle: in IsLayerConfigurationSupported() 211 case LayerType::Comparison: in IsLayerConfigurationSupported() 226 case LayerType::Constant: in IsLayerConfigurationSupported() [all …]
|
D | SubgraphUtils.hpp | 65 template<typename LayerType> 66 LayerType* FoldPadLayer(OptimizationViews& optimizationViews, in FoldPadLayer() 67 LayerType* baseLayer, in FoldPadLayer() 68 LayerType* replacementLayer, in FoldPadLayer() 81 template<typename LayerType> 82 LayerType* FoldPadIntoAveragePool2d(OptimizationViews& optimizationViews, in FoldPadIntoAveragePool2d() 89 LayerType* replacementLayer = PolymorphicDowncast<LayerType*>(replacement); in FoldPadIntoAveragePool2d()
|
/external/armnn/src/armnnSerializer/ |
D | Serializer.cpp | 120 auto flatBufferInputBaseLayer = CreateLayerBase(layer, serializer::LayerType::LayerType_Input); in SerializeInputLayer() 143 … auto flatBufferOutputBaseLayer = CreateLayerBase(layer, serializer::LayerType::LayerType_Output); in SerializeOutputLayer() 166 auto flatBufferBaseLayer = CreateLayerBase(layer, serializer::LayerType::LayerType_Activation); in SerializeActivationLayer() 189 …auto flatBufferAdditionBaseLayer = CreateLayerBase(layer, serializer::LayerType::LayerType_Additio… in SerializeAdditionLayer() 206 auto flatBufferBaseLayer = CreateLayerBase(layer, serializer::LayerType::LayerType_ArgMinMax); in SerializeArgMinMaxLayer() 228 auto flatBufferBaseLayer = CreateLayerBase(layer, serializer::LayerType::LayerType_BatchMatMul); in SerializeBatchMatMulLayer() 256 …auto flatBufferBaseLayer = CreateLayerBase(layer, serializer::LayerType::LayerType_BatchToSpaceNd); in SerializeBatchToSpaceNdLayer() 292 …auto fbBatchNormalizationBaseLayer = CreateLayerBase(layer, serializer::LayerType::LayerType_Batc… in SerializeBatchNormalizationLayer() 318 auto fbBaseLayer = CreateLayerBase(layer, serializer::LayerType::LayerType_Cast); in SerializeCastLayer() 331 auto fbBaseLayer = CreateLayerBase(layer, serializer::LayerType::LayerType_ChannelShuffle); in SerializeChannelShuffleLayer() [all …]
|
/external/armnn/src/armnnTestUtils/ |
D | MockBackend.cpp | 43 std::unique_ptr<IWorkload> MockWorkloadFactory::CreateWorkload(LayerType type, in CreateWorkload() 49 case LayerType::MemCopy: { in CreateWorkload() 66 armnn::LayerType layerType = layer->GetType(); in IsLayerSupported() 69 case armnn::LayerType::Input: in IsLayerSupported() 70 case armnn::LayerType::Output: in IsLayerSupported() 71 case armnn::LayerType::Constant: in IsLayerSupported() 72 case armnn::LayerType::Addition: in IsLayerSupported() 73 case armnn::LayerType::Convolution2d: in IsLayerSupported() 74 case armnn::LayerType::ElementwiseBinary: in IsLayerSupported() 207 return layer.GetType() != LayerType::Input && in OptimizeSubgraphView() [all …]
|
/external/armnn/src/armnn/optimizations/ |
D | AddBroadcastReshapeLayer.hpp | 18 static const std::set<armnn::LayerType> broadcastOps{ LayerType::Addition, LayerType::Divisio… 19 LayerType::Maximum, LayerType::Minimum, 20 LayerType::Multiplication, LayerType::Prelu, 21 … LayerType::Subtraction, LayerType::ElementwiseBinary }; 69 if ((parentLayer.GetType() == armnn::LayerType::Constant) && in Run()
|
D | ConvertFp32NetworkToFp16.hpp | 20 if(layer.GetType() == LayerType::Input) in Run() 29 else if (layer.GetType() == LayerType::Output) in Run() 33 if (connectedLayer.GetType() != LayerType::DetectionPostProcess) in Run() 45 …else if (layer.GetType() != LayerType::ConvertFp32ToFp16 && layer.GetType() != LayerType::ConvertF… in Run() 54 if (base.GetType() != LayerType::Input) in Run() 66 if (layer.GetType() != LayerType::DetectionPostProcess) in Run()
|
D | MoveTransposeUp.hpp | 64 case LayerType::Activation: in CanMoveTransposeToInputs() 65 case LayerType::Addition: in CanMoveTransposeToInputs() 66 case LayerType::FakeQuantization: in CanMoveTransposeToInputs() 67 case LayerType::Floor: in CanMoveTransposeToInputs() 68 case LayerType::MemCopy: in CanMoveTransposeToInputs() 69 case LayerType::Multiplication: in CanMoveTransposeToInputs() 71 case LayerType::ElementwiseBinary: in CanMoveTransposeToInputs()
|
D | MovePermuteUp.hpp | 64 case LayerType::Activation: in CanMovePermuteToInputs() 65 case LayerType::Addition: in CanMovePermuteToInputs() 66 case LayerType::FakeQuantization: in CanMovePermuteToInputs() 67 case LayerType::Floor: in CanMovePermuteToInputs() 68 case LayerType::MemCopy: in CanMovePermuteToInputs() 69 case LayerType::Multiplication: in CanMovePermuteToInputs() 71 case LayerType::ElementwiseBinary: in CanMovePermuteToInputs()
|
/external/armnn/src/backends/tosaReference/test/ |
D | TosaRefLayerSupportTests.cpp | 32 auto supported = supportChecker.IsLayerSupported(LayerType::Addition, 54 auto supported = supportChecker.IsLayerSupported(LayerType::Addition, 80 auto supported = supportChecker.IsLayerSupported(LayerType::Concat, 106 auto supported = supportChecker.IsLayerSupported(LayerType::Concat, 122 auto supported = supportChecker.IsLayerSupported(LayerType::Constant, 138 auto supported = supportChecker.IsLayerSupported(LayerType::Constant, 160 auto supported = supportChecker.IsLayerSupported(LayerType::Convolution2d, 183 auto supported = supportChecker.IsLayerSupported(LayerType::Convolution2d, 205 auto supported = supportChecker.IsLayerSupported(armnn::LayerType::Multiplication, 227 auto supported = supportChecker.IsLayerSupported(armnn::LayerType::Multiplication, [all …]
|
/external/armnn/src/backends/backendsCommon/test/mockBackend/ |
D | MockImportLayerSupport.hpp | 17 bool IsLayerSupported(const LayerType& type, in IsLayerSupported() 26 case LayerType::Addition: in IsLayerSupported() 28 case LayerType::ElementwiseBinary: in IsLayerSupported() 33 case LayerType::Input: in IsLayerSupported() 35 case LayerType::Output: in IsLayerSupported() 37 case LayerType::MemCopy: in IsLayerSupported() 39 case LayerType::MemImport: in IsLayerSupported()
|
/external/apache-http/src/org/apache/http/conn/routing/ |
D | HttpRoute.java | 74 private final LayerType layered; 103 TunnelType tunnelled, LayerType layered) { in HttpRoute() 117 layered = LayerType.PLAIN; in HttpRoute() 142 boolean secure, TunnelType tunnelled, LayerType layered) { in HttpRoute() 165 boolean secure, TunnelType tunnelled, LayerType layered) { in HttpRoute() 181 this(local, target, null, secure, TunnelType.PLAIN, LayerType.PLAIN); in HttpRoute() 191 this(null, target, null, false, TunnelType.PLAIN, LayerType.PLAIN); in HttpRoute() 212 secure ? LayerType.LAYERED : LayerType.PLAIN); in HttpRoute() 320 public final LayerType getLayerType() { in getLayerType() 327 return (this.layered == LayerType.LAYERED); in isLayered() [all …]
|
/external/armnn/src/backends/tosaCommon/test/ |
D | OneToOneMappingTests.cpp | 22 GetTosaMapping(nullptr, LayerType::Addition, {&info, &info}, {&info}, BaseDescriptor()); 24 …basicBlock, inputShape, outputShape, Op_ADD, Attribute_NONE, BaseDescriptor(), LayerType::Addition… 58 …basicBlock, inputShape, outputShape, Op_ADD, Attribute_NONE, BaseDescriptor(), LayerType::Addition… 76 … GetTosaMapping(nullptr, LayerType::Concat, {&input0Info,&input1Info}, {&outputInfo}, descriptor); 87 LayerType::Concat); 134 LayerType::Concat); 143 GetTosaMapping(nullptr, LayerType::Constant, {}, {&outputInfo}, BaseDescriptor()); 145 … basicBlock, {}, outputShape, Op_CONST, Attribute_NONE, BaseDescriptor(), LayerType::Constant); 171 … basicBlock, {}, outputShape, Op_CONST, Attribute_NONE, BaseDescriptor(), LayerType::Constant); 196 LayerType::Convolution2d, [all …]
|
/external/armnn/src/backends/backendsCommon/test/ |
D | IsLayerSupportedTestImpl.hpp | 49 template<typename LayerType, typename DescType = typename LayerType::DescriptorType> 54 m_Layer = dummyGraph.AddLayer<LayerType>(DescType(), ""); in DummyLayer() 62 LayerType* m_Layer; 66 template<typename LayerType> 67 struct DummyLayer<LayerType, void> 71 m_Layer = dummyGraph.AddLayer<LayerType>(""); in DummyLayer() 79 LayerType* m_Layer; 546 template<armnn::LayerType> 551 struct LayerTypePolicy<armnn::LayerType::name, DataType> \ 564 return factory->CreateWorkload(armnn::LayerType::name, desc, info); \ [all …]
|