#include <FoldPadIntoLayer2d.hpp>
Definition at line 212 of file FoldPadIntoLayer2d.hpp.
◆ FoldPadIntoDepthwiseConvolution2dImpl()
◆ ~FoldPadIntoDepthwiseConvolution2dImpl()
◆ Run()
Definition at line 215 of file FoldPadIntoLayer2d.hpp.
217 const auto newConv2dLayer = FoldPadIntoLayer2dImpl<DepthwiseConvolution2dLayer>(graph, connection);
219 if (newConv2dLayer !=
nullptr)
221 const auto conv2dLayer = PolymorphicDowncast<DepthwiseConvolution2dLayer*>(&connection.GetOwningLayer());
222 ARMNN_ASSERT_MSG(newConv2dLayer->GetInputSlot(1).GetConnection() !=
nullptr,
223 "FoldPadIntoDepthwiseConvolution2d: New convolution layer is missing "
224 "connection to weights layer");
226 if (conv2dLayer->GetParameters().m_BiasEnabled)
228 ARMNN_ASSERT_MSG(newConv2dLayer->GetInputSlot(2).GetConnection() !=
nullptr,
229 "FoldPadIntoConvolution2d: New convolution layer is missing "
230 "connection to bias layer.");
References ARMNN_ASSERT_MSG, and InputSlot::GetOwningLayer().
The documentation for this class was generated from the following file: