DataType data_type
Data type.
NodeType type() const override
Returns node's type.
TensorDescriptor configure_output(size_t idx) const override
Calculates output configuration.
SoftmaxLayerNode(float beta=1.f)
Constructor.
#define ARM_COMPUTE_ERROR_ON(cond)
If the condition is true then an error message is printed and an exception thrown.
QuantizationInfo get_softmax_output_quantization_info(DataType input_type, bool is_log)
Returns output quantization information for softmax layer.
SimpleTensor< float > src
Copyright (c) 2017-2021 Arm Limited.
TensorDescriptor & desc()
TensorInfo metadata accessor.
QuantizationInfo quant_info
Quantization info.
#define ARM_COMPUTE_UNUSED(...)
To avoid unused variables warnings.
virtual void visit(INode &n)=0
Visit INode.
bool forward_descriptors() override
Forwards descriptor information to outputs if possible.
Tensor * output(size_t idx) const
Returns the tensor of a given output of the node.
float beta() const
Beta parameter accessor.
TensorID input_id(size_t idx) const
Returns the tensor ID of a given input of the node.
void accept(INodeVisitor &v) override
Accepts a node visitor.
constexpr EdgeID EmptyEdgeID
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.