34 : _info(info), _out_quant_info(
std::move(out_quant_info))
66 if(!_out_quant_info.
empty())
static constexpr NodeType node_type
#define ARM_COMPUTE_ERROR_ON(cond)
If the condition is true then an error message is printed and an exception thrown.
Activation Layer Information class.
SimpleTensor< float > src
Copyright (c) 2017-2021 Arm Limited.
TensorDescriptor & desc()
TensorInfo metadata accessor.
Quantization information.
QuantizationInfo quant_info
Quantization info.
#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.
bool forward_descriptors() override
Forwards descriptor information to outputs if possible.
constexpr EdgeID EmptyEdgeID
void accept(INodeVisitor &v) override
Accepts a node visitor.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
bool empty() const
Indicates whether this QuantizationInfo has valid settings or not.
ActivationLayerNode(ActivationLayerInfo info, QuantizationInfo out_quant_info=QuantizationInfo())
Constructor.
TensorID output_id(size_t idx) const
Returns the tensor ID of a given output of the node.
ActivationLayerInfo activation_info() const
Activation metadata accessor.
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.
TensorDescriptor configure_output(size_t idx) const override
Calculates output configuration.
NodeType type() const override
Returns node's type.