24.02.1
|
Go to the documentation of this file.
72 for (
size_t dim = 0; dim < _padding.size(); ++dim)
PadLayerNode(const PaddingList &padding, PixelValue pad_value=PixelValue())
Constructor.
constexpr EdgeID EmptyEdgeID
SimpleTensor< float > src
Class describing the value of a pixel for any image format.
std::vector< PaddingInfo > PaddingList
List of padding information.
TensorID input_id(size_t idx) const
Returns the tensor ID of a given input of the node.
Tensor * output(size_t idx) const
Returns the tensor of a given output of the node.
const PaddingList & padding() const
Padding list accessor.
PixelValue pad_value() const
Padding value accessor.
#define ARM_COMPUTE_ERROR_ON(cond)
If the condition is true then an error message is printed and an exception thrown.
NodeType type() const override
Returns node's type.
virtual void visit(INode &n)=0
Visit INode.
TensorDescriptor configure_output(size_t idx) const override
Calculates output configuration.
TensorShape shape
Tensor shape.
#define ARM_COMPUTE_UNUSED(...)
To avoid unused variables warnings.
TensorShape input_shape
Validate test suite is to test ARM_COMPUTE_RETURN_ON_* macros we use to check the validity of given a...
Copyright (c) 2017-2024 Arm Limited.
Tensor * input(size_t idx) const
Returns the tensor of a given input of the node.
TensorID output_id(size_t idx) const
Returns the tensor ID of a given output of the node.
constexpr TensorID NullTensorID
Constant NodeID specifying an equivalent of null node.
TensorShape & set(size_t dimension, size_t value, bool apply_dim_correction=true, bool increase_dim_unit=true)
Accessor to set the value of one of the dimensions.
bool forward_descriptors() override
Forwards descriptor information to outputs if possible.
void accept(INodeVisitor &v) override
Accepts a node visitor.