36 : descriptor(
std::move(descriptor))
44 return descriptor.
info;
51 unsigned int output_width = 0;
52 unsigned int output_height = 0;
67 return output_descriptor;
bool forward_descriptors() override
Forwards descriptor information to outputs if possible.
TensorShape shape
Tensor shape.
Deconvolution layer descriptor.
void accept(INodeVisitor &v) override
Accepts a node visitor.
size_t get_dimension_size(const TensorDescriptor &descriptor, const DataLayoutDimension data_layout_dimension)
Get size of a tensor's given dimension depending on its layout.
std::pair< unsigned int, unsigned int > deconvolution_output_dimensions(unsigned int in_width, unsigned int in_height, unsigned int kernel_width, unsigned int kernel_height, const PadStrideInfo &pad_stride_info)
Returns expected width and height of the deconvolution's output tensor.
NodeType type() const override
Returns node's type.
PadStrideInfo deconvolution_info() const
Deconvolution metadata accessor.
#define ARM_COMPUTE_ERROR_ON(cond)
If the condition is true then an error message is printed and an exception thrown.
const size_t input_height
SimpleTensor< float > src
Copyright (c) 2017-2023 Arm Limited.
PadStrideInfo info
Padding and stride information.
static TensorDescriptor compute_output_descriptor(const TensorDescriptor &input_descriptor, const TensorDescriptor &weights_descriptor, const PadStrideInfo &info)
Computes deconvolution output descriptor.
TensorDescriptor & desc()
TensorInfo metadata accessor.
#define ARM_COMPUTE_UNUSED(...)
To avoid unused variables warnings.
virtual void visit(INode &n)=0
Visit INode.
Tensor * output(size_t idx) const
Returns the tensor of a given output of the node.
TensorID input_id(size_t idx) const
Returns the tensor ID of a given input of the node.
Padding and stride information class.
constexpr EdgeID EmptyEdgeID
TensorDescriptor & set_quantization_info(QuantizationInfo tensor_quant_info)
Sets tensor descriptor quantization info.
TensorDescriptor configure_output(size_t idx) const override
Calculates output configuration.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
bool empty() const
Indicates whether this QuantizationInfo has valid settings or not.
DeconvolutionLayerNode(const descriptors::DeconvolutionLayerDescriptor &descriptor)
Constructor.
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.
Tensor * input(size_t idx) const
Returns the tensor of a given input of the node.
DataLayout layout
Data layout.
QuantizationInfo out_quant_info
Output quantization information.
DataLayout
[DataLayout enum definition]
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.
size_t get_dimension_idx(DataLayout data_layout, const DataLayoutDimension data_layout_dimension)
Get index of a tensor's given dimension depending on its layout.