{ \
public: \
explicit Test##name##LayerVisitor(
const char* layerName =
nullptr) :
armnn::TestLayerVisitor(layerName) {}; \
\
const std::vector<armnn::ConstTensor>& constants, \
const char* layerName, \
{ \
case armnn::LayerType::name: \
{ \
CheckLayerPointer(layer); \
CheckLayerName(layerName); \
break; \
} \
default: \
{ \
} \
} \
} \
\
};
Interface for a layer that is connectable to other layers via InputSlots and OutputSlots.
Copyright (c) 2021 ARM Limited and Contributors.
void IgnoreUnused(Ts &&...)
int LayerBindingId
Type of identifiers for bindable layers (inputs, outputs).
Base class for all descriptors.
virtual LayerType GetType() const =0
Returns the armnn::LayerType of this layer.
virtual void ExecuteStrategy(const armnn::IConnectableLayer *layer, const armnn::BaseDescriptor &descriptor, const std::vector< armnn::ConstTensor > &constants, const char *name, const armnn::LayerBindingId id=0) override
const char * GetLayerTypeAsCString(LayerType type)