ArmNN
NotReleased
|
Interface for a layer that is connectable to other layers via InputSlots and OutputSlots. More...
#include <INetwork.hpp>
Public Member Functions | |
virtual const char * | GetName () const =0 |
virtual unsigned int | GetNumInputSlots () const =0 |
virtual unsigned int | GetNumOutputSlots () const =0 |
virtual const IInputSlot & | GetInputSlot (unsigned int index) const =0 |
virtual IInputSlot & | GetInputSlot (unsigned int index)=0 |
virtual const IOutputSlot & | GetOutputSlot (unsigned int index) const =0 |
virtual IOutputSlot & | GetOutputSlot (unsigned int index)=0 |
virtual std::vector< TensorShape > | InferOutputShapes (const std::vector< TensorShape > &inputShapes) const =0 |
virtual LayerGuid | GetGuid () const =0 |
virtual void | Accept (ILayerVisitor &visitor) const =0 |
Protected Member Functions | |
~IConnectableLayer () | |
Objects are not deletable via the handle. More... | |
Interface for a layer that is connectable to other layers via InputSlots and OutputSlots.
Definition at line 61 of file INetwork.hpp.
|
inlineprotected |
|
pure virtual |
Implemented in LstmLayer, QuantizedLstmLayer, PermuteLayer, SplitterLayer, ConcatLayer, ReshapeLayer, Convolution2dLayer, DepthwiseConvolution2dLayer, FullyConnectedLayer, OutputLayer, TransposeConvolution2dLayer, BatchNormalizationLayer, ConstantLayer, StandInLayer, ComparisonLayer, DepthToSpaceLayer, PreluLayer, SpaceToBatchNdLayer, SpaceToDepthLayer, ArgMinMaxLayer, BatchToSpaceNdLayer, DetectionPostProcessLayer, ElementwiseUnaryLayer, Pooling2dLayer, PreCompiledLayer, ResizeLayer, SliceLayer, StackLayer, StridedSliceLayer, MergeLayer, ConvertFp16ToFp32Layer, GatherLayer, LogSoftmaxLayer, MeanLayer, PadLayer, AbsLayer, ConvertFp32ToFp16Layer, DebugLayer, DequantizeLayer, FakeQuantizationLayer, FloorLayer, InputLayer, InstanceNormalizationLayer, L2NormalizationLayer, MemCopyLayer, MemImportLayer, NormalizationLayer, RsqrtLayer, SoftmaxLayer, SwitchLayer, ActivationLayer, DivisionLayer, MaximumLayer, MinimumLayer, MultiplicationLayer, SubtractionLayer, AdditionLayer, and QuantizeLayer.
Referenced by armnn::BOOST_AUTO_TEST_CASE().
|
pure virtual |
|
pure virtual |
Implemented in Layer.
Referenced by CaffeParserBase::AddConvLayerWithSplits(), BOOST_AUTO_TEST_CASE(), armnn::BOOST_AUTO_TEST_CASE(), armnnTfParser::CalculatePaddedOutputTensorInfo(), armnn::CompleteLeakyReluNetwork(), Connect(), armnnTfParser::ConvertTfTensorDataType(), OnnxParser::CreateNetworkFromString(), armnn::CreateNetworkWithActivationLayer(), armnn::CreateNetworkWithFullyConnectedLayer(), armnn::CreateNetworkWithInputOutputLayers(), armnn::CreateNetworkWithSoftmaxLayer(), armnn::CreateStartOfLeakyReluNetwork(), DynamicQuantizationVisitor::DynamicQuantizationVisitor(), Deserializer::GetNetworkOutputBindingInfo(), TfLiteParser::GetOutputTensorIds(), GetSoftmaxProfilerJson(), SerializerVisitor::GetVersionTable(), armnnTfParser::OutputShapeOfExpandDims(), TfLiteParser::OutputShapeOfReshape(), armnnTfParser::OutputShapeOfSqueeze(), CaffeParserBase::ParseBatchNormLayer(), CaffeParserBase::ParseConcatLayer(), CaffeParserBase::ParseEltwiseLayer(), CaffeParserBase::ParseInnerProductLayer(), CaffeParserBase::ParseLRNLayer(), CaffeParserBase::ParsePoolingLayer(), CaffeParserBase::ParseReluLayer(), CaffeParserBase::ParseScaleLayer(), CaffeParserBase::ParseSoftmaxLayer(), armnn::PreserveTypeTestImpl(), QuantizerVisitor::QuantizerVisitor(), StaticRangeVisitor::StaticRangeVisitor(), armnn::TestQuantizeConvolution2d(), armnn::TestQuantizeDepthwiseConvolution2d(), armnn::TestQuantizeTransposeConvolution2d(), TfLiteParser::TfLiteParser(), TfParser::TfParser(), VerifyPostOptimisationStructureTestImpl(), DynamicQuantizationVisitor::VisitConcatLayer(), StaticRangeVisitor::VisitConcatLayer(), QuantizerVisitor::VisitInputLayer(), and QuantizerVisitor::VisitOutputLayer().
|
pure virtual |
Implemented in Layer.
|
pure virtual |
Implemented in Layer.
Referenced by BOOST_AUTO_TEST_CASE(), armnn::BOOST_AUTO_TEST_CASE(), TfParser::GetNetworkOutputBindingInfo(), IWorkloadFactory::IsLayerSupported(), TfLiteParser::OutputShapeOfReshape(), TfLiteParser::TfLiteParser(), CaffeParserBase::TrackBindingPoint(), CaffeParserBase::TrackInputBinding(), CaffeParserBase::TrackOutputBinding(), and SerializerVisitor::VisitQuantizedLstmLayer().
|
pure virtual |
Implemented in Layer.
Referenced by BOOST_AUTO_TEST_CASE(), OnnxParser::CreateNetworkFromString(), DynamicQuantizationVisitor::DynamicQuantizationVisitor(), Deserializer::GetNetworkOutputBindingInfo(), TfLiteParser::GetOutputTensorIds(), SerializerVisitor::GetVersionTable(), QuantizerVisitor::QuantizerVisitor(), DynamicQuantizationVisitor::VisitConcatLayer(), and StaticRangeVisitor::VisitConcatLayer().
|
pure virtual |
Implemented in Layer.
Referenced by CaffeParserBase::AddConvLayerWithSplits(), BOOST_AUTO_TEST_CASE(), OnnxParser::CreateNetworkFromString(), Deserializer::GetNetworkOutputBindingInfo(), TfLiteParser::GetOutputTensorIds(), SerializerVisitor::GetVersionTable(), TfLiteParser::OutputShapeOfReshape(), armnnTfParser::OutputShapeOfSqueeze(), and RangeTracker::SetRange().
|
pure virtual |
Implemented in Layer.
Referenced by CaffeParserBase::AddConvLayerWithSplits(), BOOST_AUTO_TEST_CASE(), armnn::BOOST_AUTO_TEST_CASE(), armnnTfParser::CalculatePaddedOutputTensorInfo(), armnn::CompleteLeakyReluNetwork(), Connect(), armnnTfParser::ConvertTfTensorDataType(), TfLiteParser::CreateNetworkFromBinary(), OnnxParser::CreateNetworkFromString(), armnn::CreateNetworkWithActivationLayer(), armnn::CreateNetworkWithFullyConnectedLayer(), armnn::CreateNetworkWithInputOutputLayers(), armnn::CreateNetworkWithSoftmaxLayer(), armnn::CreateStartOfLeakyReluNetwork(), Deserializer::GetLstmDescriptor(), Deserializer::GetNetworkOutputBindingInfo(), Deserializer::GetNormalizationDescriptor(), armnnDeserializer::GetOriginsDescriptor(), TfLiteParser::GetOutputTensorIds(), Deserializer::GetPoolingDescriptor(), GetSoftmaxProfilerJson(), SerializerVisitor::GetVersionTable(), armnnTfParser::OutputShapeOfExpandDims(), Deserializer::OutputShapeOfReshape(), TfLiteParser::OutputShapeOfReshape(), TfLiteParser::OutputShapeOfSqueeze(), armnnTfParser::OutputShapeOfSqueeze(), CaffeParserBase::ParseBatchNormLayer(), CaffeParserBase::ParseConcatLayer(), CaffeParserBase::ParseEltwiseLayer(), CaffeParserBase::ParseInnerProductLayer(), CaffeParserBase::ParseLRNLayer(), CaffeParserBase::ParsePoolingLayer(), CaffeParserBase::ParseReluLayer(), CaffeParserBase::ParseScaleLayer(), CaffeParserBase::ParseSoftmaxLayer(), armnn::PreserveTypeTestImpl(), QuantizerVisitor::QuantizerVisitor(), armnn::TestQuantizeConvolution2d(), armnn::TestQuantizeDepthwiseConvolution2d(), armnn::TestQuantizeTransposeConvolution2d(), TfLiteParser::TfLiteParser(), TfParser::TfParser(), VerifyPostOptimisationStructureTestImpl(), InputLayerVisitor::VisitInputLayer(), QuantizerVisitor::VisitInputLayer(), armnn::VisitLayersTopologically(), and QuantizerVisitor::VisitOutputLayer().
|
pure virtual |
Implemented in Layer.
|
pure virtual |
Implemented in Layer, LstmLayer, QuantizedLstmLayer, SplitterLayer, ConcatLayer, Convolution2dLayer, DepthwiseConvolution2dLayer, FullyConnectedLayer, TransposeConvolution2dLayer, ConstantLayer, StandInLayer, BatchToSpaceNdLayer, PermuteLayer, Pooling2dLayer, ReshapeLayer, ResizeLayer, SliceLayer, StackLayer, MergeLayer, ComparisonLayer, DepthToSpaceLayer, PreluLayer, SpaceToBatchNdLayer, SpaceToDepthLayer, ArgMinMaxLayer, ElementwiseUnaryLayer, StridedSliceLayer, and ElementwiseBaseLayer.