From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- 20.02/classarmnn_1_1_layer_visitor_base.xhtml | 3504 +++++++++++++++++++++++++ 1 file changed, 3504 insertions(+) create mode 100644 20.02/classarmnn_1_1_layer_visitor_base.xhtml (limited to '20.02/classarmnn_1_1_layer_visitor_base.xhtml') diff --git a/20.02/classarmnn_1_1_layer_visitor_base.xhtml b/20.02/classarmnn_1_1_layer_visitor_base.xhtml new file mode 100644 index 0000000000..b412cf54be --- /dev/null +++ b/20.02/classarmnn_1_1_layer_visitor_base.xhtml @@ -0,0 +1,3504 @@ + + + + + + + + + + + + + +ArmNN: LayerVisitorBase< DefaultPolicy > Class Template Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
LayerVisitorBase< DefaultPolicy > Class Template Reference
+
+
+ +

Visitor base class with empty implementations. + More...

+ +

#include <LayerVisitorBase.hpp>

+
+Inheritance diagram for LayerVisitorBase< DefaultPolicy >:
+
+
+ + +ILayerVisitor + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

void VisitAbsLayer (const IConnectableLayer *, const char *) override
 Function an absolute layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitActivationLayer (const IConnectableLayer *, const ActivationDescriptor &, const char *) override
 Function that an activation layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitAdditionLayer (const IConnectableLayer *, const char *) override
 Function that an addition layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitArgMinMaxLayer (const IConnectableLayer *, const ArgMinMaxDescriptor &, const char *) override
 Function that an arg min max layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitBatchNormalizationLayer (const IConnectableLayer *, const BatchNormalizationDescriptor &, const ConstTensor &, const ConstTensor &, const ConstTensor &, const ConstTensor &, const char *) override
 Function that a batch normalization layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitBatchToSpaceNdLayer (const IConnectableLayer *, const BatchToSpaceNdDescriptor &, const char *) override
 Function that a batch to space ND layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitComparisonLayer (const IConnectableLayer *, const ComparisonDescriptor &, const char *) override
 Function a Comparison layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitConcatLayer (const IConnectableLayer *, const ConcatDescriptor &, const char *) override
 Function that a concat layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitConstantLayer (const IConnectableLayer *, const ConstTensor &, const char *) override
 Function a layer with no inputs and a single output, which always corresponds to the passed in constant tensor should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitConvolution2dLayer (const IConnectableLayer *, const Convolution2dDescriptor &, const ConstTensor &, const Optional< ConstTensor > &, const char *) override
 Function that a 2D convolution layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitDepthToSpaceLayer (const IConnectableLayer *, const DepthToSpaceDescriptor &, const char *) override
 Function a depth to space layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitDepthwiseConvolution2dLayer (const IConnectableLayer *, const DepthwiseConvolution2dDescriptor &, const ConstTensor &, const Optional< ConstTensor > &, const char *) override
 Function that a 2D depthwise convolution layer with biases should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitDequantizeLayer (const IConnectableLayer *, const char *) override
 Function that a Dequantize layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitDetectionPostProcessLayer (const IConnectableLayer *, const DetectionPostProcessDescriptor &, const ConstTensor &, const char *) override
 Function that a Detection PostProcess layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitDivisionLayer (const IConnectableLayer *, const char *) override
 Function a division layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitElementwiseUnaryLayer (const IConnectableLayer *, const ElementwiseUnaryDescriptor &, const char *) override
 Function a ElementwiseUnary layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitEqualLayer (const IConnectableLayer *, const char *) override
 Function an Equal layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitFloorLayer (const IConnectableLayer *, const char *) override
 Function a floor layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitFullyConnectedLayer (const IConnectableLayer *, const FullyConnectedDescriptor &, const ConstTensor &, const Optional< ConstTensor > &, const char *) override
 Function that a fully connected layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitGatherLayer (const IConnectableLayer *, const char *) override
 Function a Gather layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitGreaterLayer (const IConnectableLayer *, const char *) override
 Function a Greater layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitInputLayer (const IConnectableLayer *, LayerBindingId, const char *) override
 Function that an InputLayer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitInstanceNormalizationLayer (const IConnectableLayer *, const InstanceNormalizationDescriptor &, const char *) override
 Function that an instance normalization layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitL2NormalizationLayer (const IConnectableLayer *, const L2NormalizationDescriptor &, const char *) override
 Function that an L2 normalization layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitLogSoftmaxLayer (const IConnectableLayer *, const LogSoftmaxDescriptor &, const char *) override
 Function that a log softmax layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitLstmLayer (const IConnectableLayer *, const LstmDescriptor &, const LstmInputParams &, const char *) override
 Function an Lstm layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitMaximumLayer (const IConnectableLayer *, const char *) override
 Function a Maximum layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitMeanLayer (const IConnectableLayer *, const MeanDescriptor &, const char *) override
 Function a Mean layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitMergeLayer (const IConnectableLayer *, const char *) override
 Function that a merge layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitMergerLayer (const IConnectableLayer *, const MergerDescriptor &, const char *) override
 Function that a merger layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitMinimumLayer (const IConnectableLayer *, const char *) override
 Function a Minimum layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitMultiplicationLayer (const IConnectableLayer *, const char *) override
 Function that a multiplication layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitNormalizationLayer (const IConnectableLayer *, const NormalizationDescriptor &, const char *) override
 Function that a normalization layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitOutputLayer (const IConnectableLayer *, LayerBindingId, const char *) override
 Function an output layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitPadLayer (const IConnectableLayer *, const PadDescriptor &, const char *) override
 Function a pad layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitPermuteLayer (const IConnectableLayer *, const PermuteDescriptor &, const char *) override
 Function that a permute layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitPooling2dLayer (const IConnectableLayer *, const Pooling2dDescriptor &, const char *) override
 Function that a pooling layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitPreluLayer (const IConnectableLayer *, const char *) override
 Function that a PReLU activation layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitQuantizeLayer (const IConnectableLayer *, const char *) override
 Function a quantize layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitQuantizedLstmLayer (const IConnectableLayer *, const QuantizedLstmInputParams &, const char *) override
 Function a QuantizedLstm layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitReshapeLayer (const IConnectableLayer *, const ReshapeDescriptor &, const char *) override
 Function a reshape layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitResizeBilinearLayer (const IConnectableLayer *, const ResizeBilinearDescriptor &, const char *) override
 Function that a resize bilinear layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitResizeLayer (const IConnectableLayer *, const ResizeDescriptor &, const char *) override
 Function that a resize layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitRsqrtLayer (const IConnectableLayer *, const char *) override
 Function a Reciprocal of square root layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitSliceLayer (const IConnectableLayer *, const SliceDescriptor &, const char *) override
 Function that a slice layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitSoftmaxLayer (const IConnectableLayer *, const SoftmaxDescriptor &, const char *) override
 Function that a softmax layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitSpaceToBatchNdLayer (const IConnectableLayer *, const SpaceToBatchNdDescriptor &, const char *) override
 Function a space to batch layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitSpaceToDepthLayer (const IConnectableLayer *, const SpaceToDepthDescriptor &, const char *) override
 Function a space to depth layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitSplitterLayer (const IConnectableLayer *, const ViewsDescriptor &, const char *) override
 Function that a splitter layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitStackLayer (const IConnectableLayer *, const StackDescriptor &, const char *) override
 Function a stack layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitStandInLayer (const IConnectableLayer *, const StandInDescriptor &, const char *) override
 Function a StandInLayer should call back to when its Accept(ILaterVisitor&) function is invoked. More...
 
void VisitStridedSliceLayer (const IConnectableLayer *, const StridedSliceDescriptor &, const char *) override
 Function a strided slice layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitSubtractionLayer (const IConnectableLayer *, const char *) override
 Function a subtraction layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitSwitchLayer (const IConnectableLayer *, const char *) override
 Function a switch layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitTransposeConvolution2dLayer (const IConnectableLayer *, const TransposeConvolution2dDescriptor &, const ConstTensor &, const Optional< ConstTensor > &, const char *) override
 Function that a 2D transpose convolution layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
void VisitTransposeLayer (const IConnectableLayer *, const TransposeDescriptor &, const char *) override
 Function that a transpose layer should call back to when its Accept(ILayerVisitor&) function is invoked. More...
 
- Public Member Functions inherited from ILayerVisitor
virtual void StartVisit ()
 
virtual void FinishVisit ()
 
+ + + + + + + + + + +

+Protected Member Functions

 LayerVisitorBase ()
 
virtual ~LayerVisitorBase ()
 
- Protected Member Functions inherited from ILayerVisitor
 ILayerVisitor ()
 
virtual ~ILayerVisitor ()
 
+

Detailed Description

+

template<typename DefaultPolicy>
+class armnn::LayerVisitorBase< DefaultPolicy >

+ +

Visitor base class with empty implementations.

+ +

Definition at line 25 of file LayerVisitorBase.hpp.

+

Constructor & Destructor Documentation

+ +

◆ LayerVisitorBase()

+ +
+
+ + + + + +
+ + + + + + + +
LayerVisitorBase ()
+
+inlineprotected
+
+ +

Definition at line 28 of file LayerVisitorBase.hpp.

+
28 {}
+
+
+ +

◆ ~LayerVisitorBase()

+ +
+
+ + + + + +
+ + + + + + + +
virtual ~LayerVisitorBase ()
+
+inlineprotectedvirtual
+
+ +

Definition at line 29 of file LayerVisitorBase.hpp.

+
29 {}
+
+
+

Member Function Documentation

+ +

◆ VisitAbsLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void VisitAbsLayer (const IConnectableLayerlayer,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function an absolute layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + +
layer- pointer to the layer which is calling back to this visit function.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 32 of file LayerVisitorBase.hpp.

+
33  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitActivationLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitActivationLayer (const IConnectableLayerlayer,
const ActivationDescriptoractivationDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that an activation layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
activationDescriptor- ActivationDescriptor to configure the activation.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 35 of file LayerVisitorBase.hpp.

+
37  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitAdditionLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void VisitAdditionLayer (const IConnectableLayerlayer,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that an addition layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + +
layer- pointer to the layer which is calling back to this visit function.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 39 of file LayerVisitorBase.hpp.

+
40  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitArgMinMaxLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitArgMinMaxLayer (const IConnectableLayerlayer,
const ArgMinMaxDescriptorargMinMaxDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that an arg min max layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
argMinMaxDescriptor- ArgMinMaxDescriptor to configure the activation.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 42 of file LayerVisitorBase.hpp.

+
44  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitBatchNormalizationLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void VisitBatchNormalizationLayer (const IConnectableLayerlayer,
const BatchNormalizationDescriptordesc,
const ConstTensormean,
const ConstTensorvariance,
const ConstTensorbeta,
const ConstTensorgamma,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a batch normalization layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + + + + +
layer- pointer to the layer which is calling back to this visit function.
mean- Pre-calculated mean for each channel.
variance- Pre-calculated variance for each channel.
beta- Per-channel additive factor.
gamma- Per-channel multiplicative factor.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 46 of file LayerVisitorBase.hpp.

+
52  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitBatchToSpaceNdLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitBatchToSpaceNdLayer (const IConnectableLayerlayer,
const BatchToSpaceNdDescriptorbatchToSpaceNdDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a batch to space ND layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
batchToSpaceNdDescriptor- Description of the layer.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 54 of file LayerVisitorBase.hpp.

+
56  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitComparisonLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitComparisonLayer (const IConnectableLayerlayer,
const ComparisonDescriptorcomparisonDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a Comparison layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
comparisonDescriptor- Description of the layer.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 58 of file LayerVisitorBase.hpp.

+
60  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitConcatLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitConcatLayer (const IConnectableLayerlayer,
const ConcatDescriptorconcatDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a concat layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
concatDescriptor- ConcatDescriptor (synonym for OriginsDescriptor) to configure the concatenation process. Number of Views must be equal to the number of inputs, and their order must match - e.g. first view corresponds to the first input, second view to the second input, etc....
name- Optional name for the layer.
+
+
+ +

Reimplemented from ILayerVisitor.

+ +

Definition at line 62 of file LayerVisitorBase.hpp.

+
64  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitConstantLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitConstantLayer (const IConnectableLayerlayer,
const ConstTensorinput,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a layer with no inputs and a single output, which always corresponds to the passed in constant tensor should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
input- Tensor to be provided as the only output of the layer. The layer will maintain its own copy of the tensor data, meaning the memory referenced by input can be freed or reused after this function is called.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 66 of file LayerVisitorBase.hpp.

+
68  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitConvolution2dLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void VisitConvolution2dLayer (const IConnectableLayerlayer,
const Convolution2dDescriptorconvolution2dDescriptor,
const ConstTensorweights,
const Optional< ConstTensor > & biases,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a 2D convolution layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + + + +
layer- pointer to the layer which is calling back to this visit function.
convolution2dDescriptor- Description of the 2D convolution layer.
weights- Tensor for the weights data.
biases- Optional tensor for the bias data. If specified, must match the output tensor shape.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 70 of file LayerVisitorBase.hpp.

+
74  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitDepthToSpaceLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitDepthToSpaceLayer (const IConnectableLayerlayer,
const DepthToSpaceDescriptordepthToSpaceDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a depth to space layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
depthToSpaceDescriptor- Parameters for the depth to space operation.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 76 of file LayerVisitorBase.hpp.

+
78  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitDepthwiseConvolution2dLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void VisitDepthwiseConvolution2dLayer (const IConnectableLayerlayer,
const DepthwiseConvolution2dDescriptorconvolution2dDescriptor,
const ConstTensorweights,
const Optional< ConstTensor > & biases,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a 2D depthwise convolution layer with biases should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + + + +
layer- pointer to the layer which is calling back to this visit function.
convolution2dDescriptor- Description of the 2D depthwise convolution layer.
weights- Tensor for the weights. Expected format: [channelMultiplier, inputChannels, height, width].
biases- Optional tensor for the bias data. If specified, must match the output tensor shape.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 80 of file LayerVisitorBase.hpp.

+
84  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitDequantizeLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void VisitDequantizeLayer (const IConnectableLayerlayer,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a Dequantize layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + +
layer- pointer to the layer which is calling back to this visit function.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 86 of file LayerVisitorBase.hpp.

+
87  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitDetectionPostProcessLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void VisitDetectionPostProcessLayer (const IConnectableLayerlayer,
const DetectionPostProcessDescriptordescriptor,
const ConstTensoranchors,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a Detection PostProcess layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + + +
layer- pointer to the layer which is calling back to this visit function.
descriptor- Description of the Detection PostProcess layer.
anchors- Tensor for the anchors.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 89 of file LayerVisitorBase.hpp.

+
92  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitDivisionLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void VisitDivisionLayer (const IConnectableLayerlayer,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a division layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + +
layer- pointer to the layer which is calling back to this visit function.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 94 of file LayerVisitorBase.hpp.

+
95  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitElementwiseUnaryLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitElementwiseUnaryLayer (const IConnectableLayerlayer,
const ElementwiseUnaryDescriptorelementwiseUnaryDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a ElementwiseUnary layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
elementwiseUnaryDescriptor- Description of the layer.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 97 of file LayerVisitorBase.hpp.

+
99  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitEqualLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void VisitEqualLayer (const IConnectableLayerlayer,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function an Equal layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + +
layer- pointer to the layer which is calling back to this visit function.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 101 of file LayerVisitorBase.hpp.

+
102  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitFloorLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void VisitFloorLayer (const IConnectableLayerlayer,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a floor layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + +
layer- pointer to the layer which is calling back to this visit function.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 104 of file LayerVisitorBase.hpp.

+
105  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitFullyConnectedLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void VisitFullyConnectedLayer (const IConnectableLayerlayer,
const FullyConnectedDescriptorfullyConnectedDescriptor,
const ConstTensorweights,
const Optional< ConstTensor > & biases,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a fully connected layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + + + +
layer- pointer to the layer which is calling back to this visit function.
fullyConnectedDescriptor- Description of the fully connected layer.
weights- Tensor for the weights data.
biases- Optional tensor for the bias data.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 107 of file LayerVisitorBase.hpp.

+
111  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitGatherLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void VisitGatherLayer (const IConnectableLayerlayer,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a Gather layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + +
layer- pointer to the layer which is calling back to this visit function.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 113 of file LayerVisitorBase.hpp.

+
114  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitGreaterLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void VisitGreaterLayer (const IConnectableLayerlayer,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a Greater layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + +
layer- pointer to the layer which is calling back to this visit function.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 116 of file LayerVisitorBase.hpp.

+
117  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitInputLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitInputLayer (const IConnectableLayerlayer,
LayerBindingId id,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that an InputLayer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
id- User generated id to uniquely identify a particular input. The same id needs to be specified when passing the inputs to the IRuntime::EnqueueWorkload() function.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 119 of file LayerVisitorBase.hpp.

+
121  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitInstanceNormalizationLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitInstanceNormalizationLayer (const IConnectableLayerlayer,
const InstanceNormalizationDescriptordesc,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that an instance normalization layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
desc- Parameters for the instance normalization operation.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 123 of file LayerVisitorBase.hpp.

+
125  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitL2NormalizationLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitL2NormalizationLayer (const IConnectableLayerlayer,
const L2NormalizationDescriptordesc,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that an L2 normalization layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+

Normalization is performed along dimension 1, but requires a 4d input.

Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
desc- Parameters for the L2 normalization operation.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 127 of file LayerVisitorBase.hpp.

+
129  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitLogSoftmaxLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitLogSoftmaxLayer (const IConnectableLayerlayer,
const LogSoftmaxDescriptorlogSoftmaxDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a log softmax layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
logSoftmaxDescriptor- LogSoftmaxDescriptor to configure the log softmax.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 131 of file LayerVisitorBase.hpp.

+
133  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitLstmLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void VisitLstmLayer (const IConnectableLayerlayer,
const LstmDescriptordescriptor,
const LstmInputParamsparams,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function an Lstm layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + + +
layer- pointer to the layer which is calling back to this visit function.
descriptor- Parameters controlling the operation of the Lstm operation.
params- The weights and biases for the LSTM cell.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 135 of file LayerVisitorBase.hpp.

+
138  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitMaximumLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void VisitMaximumLayer (const IConnectableLayerlayer,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a Maximum layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + +
layer- pointer to the layer which is calling back to this visit function.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 140 of file LayerVisitorBase.hpp.

+
141  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitMeanLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitMeanLayer (const IConnectableLayerlayer,
const MeanDescriptormeanDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a Mean layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
meanDescriptor- Parameters for the mean operation.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 143 of file LayerVisitorBase.hpp.

+
145  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitMergeLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void VisitMergeLayer (const IConnectableLayerlayer,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a merge layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + +
layer- pointer to the layer which is calling back to this visit function.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 147 of file LayerVisitorBase.hpp.

+ +

Referenced by BOOST_AUTO_TEST_CASE().

+
148  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitMergerLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitMergerLayer (const IConnectableLayerlayer,
const MergerDescriptormergerDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a merger layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
mergerDescriptor- MergerDescriptor (synonym for OriginsDescriptor) to configure the concatenation process. Number of Views must be equal to the number of inputs, and their order must match - e.g. first view corresponds to the first input, second view to the second input, etc....
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 150 of file LayerVisitorBase.hpp.

+
152  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitMinimumLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void VisitMinimumLayer (const IConnectableLayerlayer,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a Minimum layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + +
layer- pointer to the layer which is calling back to this visit function.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 154 of file LayerVisitorBase.hpp.

+
155  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitMultiplicationLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void VisitMultiplicationLayer (const IConnectableLayerlayer,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a multiplication layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + +
layer- pointer to the layer which is calling back to this visit function.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 157 of file LayerVisitorBase.hpp.

+
158  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitNormalizationLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitNormalizationLayer (const IConnectableLayerlayer,
const NormalizationDescriptornormalizationDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a normalization layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
normalizationDescriptor- NormalizationDescriptor to configure the normalization.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 160 of file LayerVisitorBase.hpp.

+
162  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitOutputLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitOutputLayer (const IConnectableLayerlayer,
LayerBindingId id,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function an output layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
id- User generated id to uniquely identify a particular output. The same id needs to be specified when passing the outputs to the IRuntime::EnqueueWorkload() function.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 164 of file LayerVisitorBase.hpp.

+
166  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitPadLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitPadLayer (const IConnectableLayerlayer,
const PadDescriptorpadDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a pad layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
paddings- n by 2 tensor, where n is the rank of the input tensor, such that paddings[i,0] indicates the amount of padding to add in front of dimension i, and paddings[i,1] indicates the amount of padding to add after the end of dimension i
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 168 of file LayerVisitorBase.hpp.

+
170  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitPermuteLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitPermuteLayer (const IConnectableLayerlayer,
const PermuteDescriptorpermuteDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a permute layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
permuteDescriptor- PermuteDescriptor to configure the permute.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 172 of file LayerVisitorBase.hpp.

+
174  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitPooling2dLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitPooling2dLayer (const IConnectableLayerlayer,
const Pooling2dDescriptorpooling2dDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a pooling layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
pooling2dDescriptor- Pooling2dDescriptor to configure the pooling.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 176 of file LayerVisitorBase.hpp.

+
178  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitPreluLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void VisitPreluLayer (const IConnectableLayerlayer,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a PReLU activation layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + +
layer- pointer to the layer which is calling back to this visit function.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 180 of file LayerVisitorBase.hpp.

+
181  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitQuantizedLstmLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitQuantizedLstmLayer (const IConnectableLayerlayer,
const QuantizedLstmInputParamsparams,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a QuantizedLstm layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
params- The weights and biases for the Quantized LSTM cell
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 186 of file LayerVisitorBase.hpp.

+
188  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitQuantizeLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void VisitQuantizeLayer (const IConnectableLayerlayer,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a quantize layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + +
layer- pointer to the layer which is calling back to this visit function.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 183 of file LayerVisitorBase.hpp.

+ +

Referenced by BOOST_AUTO_TEST_CASE().

+
184  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitReshapeLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitReshapeLayer (const IConnectableLayerlayer,
const ReshapeDescriptorreshapeDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a reshape layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
reshapeDescriptor- Parameters for the reshape operation.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 190 of file LayerVisitorBase.hpp.

+
192  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitResizeBilinearLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitResizeBilinearLayer (const IConnectableLayerlayer,
const ResizeBilinearDescriptorresizeDesc,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a resize bilinear layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
resizeDesc- Parameters for the resize operation.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 194 of file LayerVisitorBase.hpp.

+
196  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitResizeLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitResizeLayer (const IConnectableLayerlayer,
const ResizeDescriptorresizeDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a resize layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
resizeDescriptor- Parameters for the resize operation.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 198 of file LayerVisitorBase.hpp.

+
200  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitRsqrtLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void VisitRsqrtLayer (const IConnectableLayerlayer,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a Reciprocal of square root layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + +
layer- pointer to the layer which is calling back to this visit function.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 202 of file LayerVisitorBase.hpp.

+
203  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitSliceLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitSliceLayer (const IConnectableLayerlayer,
const SliceDescriptorsliceDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a slice layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
sliceDescriptor- SliceDescriptor to configure the slice operation.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 205 of file LayerVisitorBase.hpp.

+
207  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitSoftmaxLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitSoftmaxLayer (const IConnectableLayerlayer,
const SoftmaxDescriptorsoftmaxDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a softmax layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
softmaxDescriptor- SoftmaxDescriptor to configure the softmax.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 209 of file LayerVisitorBase.hpp.

+
211  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitSpaceToBatchNdLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitSpaceToBatchNdLayer (const IConnectableLayerlayer,
const SpaceToBatchNdDescriptorspaceToBatchNdDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a space to batch layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
spaceToBatchNdDescriptor- Parameters for the space to batch operation.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 213 of file LayerVisitorBase.hpp.

+
215  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitSpaceToDepthLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitSpaceToDepthLayer (const IConnectableLayerlayer,
const SpaceToDepthDescriptorspaceToDepthDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a space to depth layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
spaceToDepthDescriptor- Parameters for the space to depth operation.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 217 of file LayerVisitorBase.hpp.

+
219  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitSplitterLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitSplitterLayer (const IConnectableLayerlayer,
const ViewsDescriptorsplitterDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a splitter layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
splitterDescriptor- ViewsDescriptor to configure the splitting process. Number of Views must be equal to the number of outputs, and their order must match - e.g. first view corresponds to the first output, second view to the second output, etc....
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 221 of file LayerVisitorBase.hpp.

+
223  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitStackLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitStackLayer (const IConnectableLayerlayer,
const StackDescriptorstackDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a stack layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
stackDescriptor- Parameters for the stack operation.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 225 of file LayerVisitorBase.hpp.

+
227  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitStandInLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitStandInLayer (const IConnectableLayerlayer,
const StandInDescriptorstandInDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a StandInLayer should call back to when its Accept(ILaterVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
standInDescriptor- Parameters for the stand-in layer.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 229 of file LayerVisitorBase.hpp.

+
231  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitStridedSliceLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitStridedSliceLayer (const IConnectableLayerlayer,
const StridedSliceDescriptorstridedSliceDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a strided slice layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
stridedSliceDescriptor- Parameters for the strided slice operation.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 233 of file LayerVisitorBase.hpp.

+
235  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitSubtractionLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void VisitSubtractionLayer (const IConnectableLayerlayer,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a subtraction layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + +
layer- pointer to the layer which is calling back to this visit function.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 237 of file LayerVisitorBase.hpp.

+
238  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitSwitchLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void VisitSwitchLayer (const IConnectableLayerlayer,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function a switch layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + +
layer- pointer to the layer which is calling back to this visit function.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 240 of file LayerVisitorBase.hpp.

+
241  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitTransposeConvolution2dLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void VisitTransposeConvolution2dLayer (const IConnectableLayerlayer,
const TransposeConvolution2dDescriptordescriptor,
const ConstTensorweights,
const Optional< ConstTensor > & biases,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a 2D transpose convolution layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + + + +
layer- pointer to the layer which is calling back to this visit function.
descriptor- Description of the 2D transpose convolution layer.
weights- Tensor for the weights data.
biases- Optional tensor for the bias data.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 243 of file LayerVisitorBase.hpp.

+
247  { DefaultPolicy::Apply(__func__); }
+
+
+ +

◆ VisitTransposeLayer()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
void VisitTransposeLayer (const IConnectableLayerlayer,
const TransposeDescriptortransposeDescriptor,
const char * name 
)
+
+inlineoverridevirtual
+
+ +

Function that a transpose layer should call back to when its Accept(ILayerVisitor&) function is invoked.

+
Parameters
+ + + + +
layer- pointer to the layer which is calling back to this visit function.
transposeDescriptor- TransposeDescriptor to configure the transpose.
name- Optional name for the layer.
+
+
+ +

Implements ILayerVisitor.

+ +

Definition at line 249 of file LayerVisitorBase.hpp.

+
251  { DefaultPolicy::Apply(__func__); }
+
+
+
The documentation for this class was generated from the following file: +
+
+ + + + -- cgit v1.2.1