24.08
|
An ActivationDescriptor for the ActivationLayer.
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the Activation type.
~ActivationLayer()=default
Default destructor.
ActivationLayer(const ActivationDescriptor ¶m, const char *name)
Constructor to create an ActivationLayer.
void ExecuteStrategy(IStrategy &strategy) const override
Apply a visitor to this layer.
This layer represents an activation operation with the specified activation function.
void ValidateTensorShapesFromInputs() override
Check if the input tensor shape(s) will lead to a valid configuration of ActivationLayer.
Copyright (c) 2021 ARM Limited and Contributors.
ActivationLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.