12 template <
typename Parameters>
30 unsigned int numOutputSlots,
32 const Parameters& param,
34 :
Layer(numInputSlots, numOutputSlots, type, name)
42 template <
typename QueueDescriptor>
45 descriptor.m_Parameters =
m_Param;
LayerWithParameters(unsigned int numInputSlots, unsigned int numOutputSlots, LayerType type, const Parameters ¶m, const char *name)
Parameters m_Param
The parameters for the layer (not including tensor-valued weights etc.).
const Parameters & GetParameters() const
void SerializeLayerParameters(ParameterStringifyFunction &fn) const override
Helper to serialize the layer parameters to string (currently used in DotSerializer and company)...
Copyright (c) 2020 ARM Limited.
A ResizeDescriptor for the ResizeLayer.
WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const
Helper function to reduce duplication in *LayerCreateWorkload.
~LayerWithParameters()=default
WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const
Helper function to reduce duplication in *LayerCreateWorkload.
virtual void SerializeLayerParameters(ParameterStringifyFunction &fn) const
Helper to serialize the layer parameters to string.
Contains information about inputs and outputs to a layer.
std::function< void(const std::string &name, const std::string &value)> ParameterStringifyFunction
static void Serialize(ParameterStringifyFunction &, const LayerParameter &)