#include <FoldPadIntoLayer2d.hpp>
Definition at line 235 of file FoldPadIntoLayer2d.hpp.
◆ FoldPadIntoDepthwiseConvolution2dImpl()
◆ ~FoldPadIntoDepthwiseConvolution2dImpl()
◆ Run()
Definition at line 238 of file FoldPadIntoLayer2d.hpp.
240 const auto newConv2dLayer = FoldPadIntoLayer2dImpl<DepthwiseConvolution2dLayer>(graph, connection);
242 if (newConv2dLayer !=
nullptr)
244 const auto conv2dLayer = PolymorphicDowncast<DepthwiseConvolution2dLayer*>(&connection.GetOwningLayer());
245 ARMNN_ASSERT_MSG(newConv2dLayer->GetInputSlot(1).GetConnection() !=
nullptr,
246 "FoldPadIntoDepthwiseConvolution2d: New convolution layer is missing "
247 "connection to weights layer");
249 if (conv2dLayer->GetParameters().m_BiasEnabled)
251 ARMNN_ASSERT_MSG(newConv2dLayer->GetInputSlot(2).GetConnection() !=
nullptr,
252 "FoldPadIntoConvolution2d: New convolution layer is missing "
253 "connection to bias layer.");
References ARMNN_ASSERT_MSG, and InputSlot::GetOwningLayer().
The documentation for this class was generated from the following file: