24.02.1
|
descriptors::UnaryEltwiseLayerDescriptor eltwise_descriptor() const
Unary eltwise layer descriptor.
constexpr EdgeID EmptyEdgeID
NodeType type() const override
Returns node's type.
SimpleTensor< float > src
Quantization information.
TensorID input_id(size_t idx) const
Returns the tensor ID of a given input of the node.
TensorDescriptor & desc()
TensorInfo metadata accessor.
Tensor * output(size_t idx) const
Returns the tensor of a given output of the node.
ConvertPolicy convert_policy() const
Convert policy accessor.
ActivationLayerInfo fused_activation
Fused activation info.
Activation Layer Information class.
Unary Elementwise layer descriptor.
bool forward_descriptors() override
Forwards descriptor information to outputs if possible.
#define ARM_COMPUTE_ERROR_ON(cond)
If the condition is true then an error message is printed and an exception thrown.
RoundingPolicy
Rounding method.
ActivationLayerInfo fused_activation
Fused activation info.
QuantizationInfo out_quant_info
Output quantization information.
#define ARM_COMPUTE_ERROR_ON_MSG(cond, msg)
void set_fused_activation(ActivationLayerInfo fused_activation)
Sets fused activation.
size_t total_size() const
Collapses all dimensions to a single linear total size.
NodeType type() const override
Returns node's type.
virtual void visit(INode &n)=0
Visit INode.
bool forward_descriptors() override
Forwards descriptor information to outputs if possible.
TensorDescriptor configure_output(size_t idx) const override
Calculates output configuration.
EltwiseLayerNode(const descriptors::EltwiseLayerDescriptor &descriptor)
Constructor.
TensorDescriptor configure_output(size_t idx) const override
Calculates output configuration.
TensorShape shape
Tensor shape.
#define ARM_COMPUTE_UNUSED(...)
To avoid unused variables warnings.
void set_fused_activation(ActivationLayerInfo fused_activation)
Sets fused activation.
QuantizationInfo output_quant_info() const
Returns output quantization info.
UnaryEltwiseLayerNode(const descriptors::UnaryEltwiseLayerDescriptor &descriptor)
Constructor.
Copyright (c) 2017-2024 Arm Limited.
bool empty() const
Indicates whether this QuantizationInfo has valid settings or not.
ConvertPolicy
Policy to handle integer overflow.
ActivationLayerInfo fused_activation() const
Returns fused activation.
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.
ConvertPolicy c_policy
Convert policy.
EltwiseOperation op
Element-wise operation to perform.
constexpr TensorID NullTensorID
Constant NodeID specifying an equivalent of null node.
RoundingPolicy r_policy
Rounding policy.
QuantizationInfo out_quant_info
Output quantization information.
static TensorShape broadcast_shape(const Shapes &...shapes)
If shapes are broadcast compatible, return the broadcasted shape.
EltwiseOperation eltwise_operation() const
Eltwise operation accessor.
void accept(INodeVisitor &v) override
Accepts a node visitor.
EltwiseOperation
Supported Element-wise operations.
Elementwise layer descriptor.
void accept(INodeVisitor &v) override
Accepts a node visitor.
RoundingPolicy rounding_policy() const
Rounding policy accessor.