24.02.1
|
Pad Layer. More...
#include <Layers.h>
Public Member Functions | |
PadLayer (PaddingList padding, PixelValue pad_value=PixelValue()) | |
Construct a pad 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 pad layer.
[in] | padding | The padding for each spatial dimension of the input tensor. The pair padding[i] specifies the front and the end padding in the i-th dimension. |
[in] | pad_value | Padding value to use. Defaults to 0. |
Create layer and add to the given stream.
[in] | s | Stream to add layer to. |
Implements ILayer.
Definition at line 943 of file Layers.h.
References GraphBuilder::add_pad_node(), IStream::graph(), IStream::hints(), arm_compute::test::validation::input, ILayer::name(), IStream::tail_node(), and StreamHints::target_hint.