virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the Switch type.
Copyright (c) 2020 ARM Limited.
SwitchLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
SwitchLayer(const char *name)
Constructor to create a SwitchLayer.
void ValidateTensorShapesFromInputs() override
Check if the input tensor shape(s) will lead to a valid configuration of SwitchLayer.
void Accept(ILayerVisitor &visitor) const override
Apply a visitor to this layer.
~SwitchLayer()=default
Default destructor.
This layer calculates both true and false outputs for input.