21.02
|
Depthwise Convolution Layer. More...
#include <Layers.h>
Public Member Functions | |
DepthwiseConvolutionLayer (unsigned int conv_width, unsigned int conv_height, ITensorAccessorUPtr weights, ITensorAccessorUPtr bias, PadStrideInfo conv_info, int depth_multiplier=1, const QuantizationInfo weights_quant_info=QuantizationInfo(), const QuantizationInfo out_quant_info=QuantizationInfo()) | |
Construct a depthwise convolution layer. More... | |
NodeID | create_layer (IStream &s) override |
Create layer and add to the given stream. More... | |
Public Member Functions inherited from ILayer | |
virtual | ~ILayer ()=default |
Default destructor. More... | |
ILayer & | set_name (std::string name) |
Sets the name of the layer. More... | |
const std::string & | name () const |
Layer name accessor. More... | |
|
inline |
Construct a depthwise convolution layer.
[in] | conv_width | Convolution width. |
[in] | conv_height | Convolution height. |
[in] | weights | Accessor to get kernel weights from. |
[in] | bias | Accessor to get kernel bias from. |
[in] | conv_info | Padding and stride information. |
[in] | depth_multiplier | (Optional) Depth multiplier parameter. |
[in] | weights_quant_info | (Optional) Quantization info used for weights |
[in] | out_quant_info | (Optional) Output quantization info |
Definition at line 495 of file Layers.h.
Create layer and add to the given stream.
[in] | s | Stream to add layer to. |
Implements ILayer.
Definition at line 514 of file Layers.h.
References GraphBuilder::add_depthwise_convolution_node(), StreamHints::depthwise_convolution_method_hint, IStream::graph(), IStream::hints(), arm_compute::test::validation::input, ILayer::name(), IStream::tail_node(), and StreamHints::target_hint.