Home
last modified time | relevance | path

Searched refs:permuteLayer (Results 1 – 6 of 6) sorted by relevance

/external/armnn/src/armnn/test/optimizations/
DConvertConstPermuteLayersToConstLayersTest.cpp31 PermuteLayer* permuteLayer = graph.AddLayer<PermuteLayer>(desc, "permute"); variable
33 permuteLayer->GetOutputSlot().SetTensorInfo(infoPermuted);
38 constant->GetOutputSlot().Connect(permuteLayer->GetInputSlot(0));
39 permuteLayer->GetOutputSlot().Connect(output->GetInputSlot(0));
DPermuteDepthwiseConv2dWeightsTests.cpp62 armnn::Layer* const permuteLayer = GetFirstLayerWithName(graph, "permute_layer"); in PermuteDepthwiseConv2dWeightsTestRunner() local
63 CHECK(permuteLayer); in PermuteDepthwiseConv2dWeightsTestRunner()
70 TensorShape newShape = permuteLayer->GetOutputSlot().GetTensorInfo().GetShape(); in PermuteDepthwiseConv2dWeightsTestRunner()
/external/armnn/src/armnn/optimizations/
DPermuteDepthwiseConv2dWeights.hpp60 PermuteLayer* permuteLayer = in AddPermuteLayer() local
64 permuteLayer->GetOutputSlot().SetTensorInfo(weightsPermuted); in AddPermuteLayer()
68 permuteLayer->SetBackendId(layer->GetBackendId()); in AddPermuteLayer()
DConvertConstPermuteLayersToConstLayers.hpp93 PermuteLayer* permuteLayer) in ReplaceConstPermuteLayer() argument
101 TensorInfo outputPermuteInfo = permuteLayer->GetOutputSlot(0).GetTensorInfo(); in ReplaceConstPermuteLayer()
103 armnnUtils::Permute(outputPermuteInfo.GetShape(), permuteLayer->GetPermutation(), in ReplaceConstPermuteLayer()
114 permuteLayer->GetOutputSlot().MoveAllConnections(constantLayer->GetOutputSlot()); in ReplaceConstPermuteLayer()
/external/armnn/src/armnnOnnxParser/
DOnnxParser.cpp1107 IConnectableLayer* permuteLayer = m_Network->AddPermuteLayer(PermuteDescriptor(perVec), in AddConvLayerWithDepthwiseConv() local
1109 permuteLayer->GetOutputSlot(0).SetTensorInfo(weightsPermuted); in AddConvLayerWithDepthwiseConv()
1110 permuteLayer->GetOutputSlot(0).Connect(layer->GetInputSlot(1u)); in AddConvLayerWithDepthwiseConv()
1113 weightsLayer->GetOutputSlot(0).Connect(permuteLayer->GetInputSlot(0u)); in AddConvLayerWithDepthwiseConv()
/external/armnn/src/armnnSerializer/test/
DSerializerTests.cpp2093 …armnn::IConnectableLayer* const permuteLayer = network->AddPermuteLayer(descriptor, layerName.c_st… variable
2096 inputLayer->GetOutputSlot(0).Connect(permuteLayer->GetInputSlot(0));
2097 permuteLayer->GetOutputSlot(0).Connect(outputLayer->GetInputSlot(0));
2100 permuteLayer->GetOutputSlot(0).SetTensorInfo(outputTensorInfo);