24.08
|
SwitchLayer(const char *name)
Constructor to create a SwitchLayer.
void ExecuteStrategy(IStrategy &strategy) 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 SwitchLayer.
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the Switch type.
This layer calculates both true and false outputs for input.
~SwitchLayer()=default
Default destructor.
Copyright (c) 2021 ARM Limited and Contributors.
SwitchLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.