35 : _epsilon(epsilon), _fused_activation(fused_activation)
48 return _fused_activation;
BatchNormalizationLayerNode(float epsilon=1.f, ActivationLayerInfo fused_activation=ActivationLayerInfo())
Constructor.
#define ARM_COMPUTE_ERROR_ON(cond)
If the condition is true then an error message is printed and an exception thrown.
void set_fused_activation(ActivationLayerInfo fused_activation)
Sets fused activation.
ActivationLayerInfo fused_activation() const
Returns fused activation.
Activation Layer Information class.
float epsilon() const
Epsilon parameter accessor.
SimpleTensor< float > src
Copyright (c) 2017-2021 Arm Limited.
void accept(INodeVisitor &v) override
Accepts a node visitor.
NodeType type() const override
Returns node's type.
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.
TensorDescriptor configure_output(size_t idx) const override
Calculates output configuration.
TensorID input_id(size_t idx) const
Returns the tensor ID of a given input of the node.
constexpr EdgeID EmptyEdgeID
static constexpr NodeType node_type
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.
bool forward_descriptors() override
Forwards descriptor information to outputs if possible.