39 : _out_quant_info(
std::move(out_quant_info)), _out_data_type(out_data_type)
bool is_data_type_quantized(DataType dt)
Check if a given data type is of quantized type.
DataType data_type
Data type.
bool forward_descriptors() override
Forwards descriptor information to outputs if possible.
NodeType type() const override
Returns node's type.
#define ARM_COMPUTE_ERROR_ON(cond)
If the condition is true then an error message is printed and an exception thrown.
void accept(INodeVisitor &v) override
Accepts a node visitor.
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.
quantized, asymmetric fixed-point 8-bit number unsigned
TensorID input_id(size_t idx) const
Returns the tensor ID of a given input of the node.
constexpr EdgeID EmptyEdgeID
TensorDescriptor configure_output(size_t idx) const override
Calculates output configuration.
QuantizationLayerNode(QuantizationInfo out_quant_info)
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.
DataType
Available data types.
static constexpr NodeType node_type