#include <FoldPadIntoLayer2d.hpp>
Definition at line 189 of file FoldPadIntoLayer2d.hpp.
◆ FoldPadIntoDepthwiseConvolution2dImpl()
◆ ~FoldPadIntoDepthwiseConvolution2dImpl()
◆ Run()
Definition at line 192 of file FoldPadIntoLayer2d.hpp.
References ARMNN_ASSERT_MSG, and InputSlot::GetOwningLayer().
194 const auto newConv2dLayer = FoldPadIntoLayer2dImpl<DepthwiseConvolution2dLayer>(graph, connection);
196 if (newConv2dLayer !=
nullptr)
198 const auto conv2dLayer = PolymorphicDowncast<DepthwiseConvolution2dLayer*>(&connection.GetOwningLayer());
201 "FoldPadIntoDepthwiseConvolution2d: Weights data should not be null.");
202 newConv2dLayer->m_Weight = std::move(conv2dLayer->m_Weight);
204 if (conv2dLayer->GetParameters().m_BiasEnabled)
207 "FoldPadIntoDepthwiseConvolution2d: Bias data should not be null if bias is enabled.");
208 newConv2dLayer->m_Bias = std::move(conv2dLayer->m_Bias);
#define ARMNN_ASSERT_MSG(COND, MSG)
The documentation for this class was generated from the following file: