~ReduceLayer()=default
Default destructor.
void Accept(ILayerVisitor &visitor) const override
Apply a visitor to this layer.
void ValidateTensorShapesFromInputs() override
Check if the input tensor shape(s) will lead to a valid configuration of ReduceLayer.
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the Reduce type.
Copyright (c) 2021 ARM Limited and Contributors.
This layer represents a reduction operation.
ReduceLayer(const ReduceDescriptor ¶m, const char *name)
Constructor to create a ReduceLayer.
A ReduceDescriptor for the REDUCE operators.
ReduceLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.