ArmNN
 20.02
IOutputSlot Class Referenceabstract

An output connection slot for a layer. More...

#include <INetwork.hpp>

Inheritance diagram for IOutputSlot:
OutputSlot

Public Member Functions

virtual unsigned int GetNumConnections () const =0
 
virtual const IInputSlotGetConnection (unsigned int index) const =0
 
virtual IInputSlotGetConnection (unsigned int index)=0
 
virtual void SetTensorInfo (const TensorInfo &tensorInfo)=0
 
virtual const TensorInfoGetTensorInfo () const =0
 
virtual bool IsTensorInfoSet () const =0
 
virtual int Connect (IInputSlot &destination)=0
 
virtual void Disconnect (IInputSlot &slot)=0
 
virtual unsigned int CalculateIndexOnOwner () const =0
 
virtual LayerGuid GetOwningLayerGuid () const =0
 

Protected Member Functions

 ~IOutputSlot ()
 Not user deletable. More...
 

Detailed Description

An output connection slot for a layer.

The output slot may be connected to 1 or more input slots of subsequent layers in the graph.

Definition at line 37 of file INetwork.hpp.

Constructor & Destructor Documentation

◆ ~IOutputSlot()

~IOutputSlot ( )
inlineprotected

Not user deletable.

Definition at line 57 of file INetwork.hpp.

57 {}

Member Function Documentation

◆ CalculateIndexOnOwner()

◆ Connect()

◆ Disconnect()

virtual void Disconnect ( IInputSlot slot)
pure virtual

Implemented in OutputSlot.

Referenced by Graph::SubstituteSubgraph().

◆ GetConnection() [1/2]

virtual const IInputSlot* GetConnection ( unsigned int  index) const
pure virtual

Implemented in OutputSlot.

Referenced by BOOST_AUTO_TEST_CASE(), and IsConnected().

◆ GetConnection() [2/2]

virtual IInputSlot* GetConnection ( unsigned int  index)
pure virtual

Implemented in OutputSlot.

◆ GetNumConnections()

virtual unsigned int GetNumConnections ( ) const
pure virtual

Implemented in OutputSlot.

Referenced by BOOST_AUTO_TEST_CASE(), and IsConnected().

◆ GetOwningLayerGuid()

◆ GetTensorInfo()

virtual const TensorInfo& GetTensorInfo ( ) const
pure virtual

Implemented in OutputSlot.

Referenced by armnn::BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), armnnTfParser::CalculatePaddedOutputTensorInfo(), armnnTfParser::ConvertTfTensorDataType(), Layer::GetDataType(), SerializerVisitor::GetVersionTable(), IsConnected(), IWorkloadFactory::IsLayerSupported(), armnnTfParser::OutputShapeOfExpandDims(), armnnTfParser::OutputShapeOfSqueeze(), PermuteAndBatchToSpaceAsDepthToSpaceImpl< PermuteType >::Run(), DepthwiseConvolution2dLayer::SerializeLayerParameters(), Convolution2dLayer::SerializeLayerParameters(), TfParser::TfParser(), ElementwiseBaseLayer::ValidateTensorShapesFromInputs(), QuantizeLayer::ValidateTensorShapesFromInputs(), ActivationLayer::ValidateTensorShapesFromInputs(), TransposeLayer::ValidateTensorShapesFromInputs(), ConvertFp32ToFp16Layer::ValidateTensorShapesFromInputs(), PermuteLayer::ValidateTensorShapesFromInputs(), Pooling2dLayer::ValidateTensorShapesFromInputs(), DequantizeLayer::ValidateTensorShapesFromInputs(), FakeQuantizationLayer::ValidateTensorShapesFromInputs(), ResizeLayer::ValidateTensorShapesFromInputs(), RsqrtLayer::ValidateTensorShapesFromInputs(), SliceLayer::ValidateTensorShapesFromInputs(), FloorLayer::ValidateTensorShapesFromInputs(), SoftmaxLayer::ValidateTensorShapesFromInputs(), StackLayer::ValidateTensorShapesFromInputs(), AbsLayer::ValidateTensorShapesFromInputs(), SwitchLayer::ValidateTensorShapesFromInputs(), InstanceNormalizationLayer::ValidateTensorShapesFromInputs(), NormalizationLayer::ValidateTensorShapesFromInputs(), DebugLayer::ValidateTensorShapesFromInputs(), L2NormalizationLayer::ValidateTensorShapesFromInputs(), BatchToSpaceNdLayer::ValidateTensorShapesFromInputs(), MemImportLayer::ValidateTensorShapesFromInputs(), MemCopyLayer::ValidateTensorShapesFromInputs(), MergeLayer::ValidateTensorShapesFromInputs(), LogSoftmaxLayer::ValidateTensorShapesFromInputs(), ConvertFp16ToFp32Layer::ValidateTensorShapesFromInputs(), GatherLayer::ValidateTensorShapesFromInputs(), MeanLayer::ValidateTensorShapesFromInputs(), ArgMinMaxLayer::ValidateTensorShapesFromInputs(), StridedSliceLayer::ValidateTensorShapesFromInputs(), ElementwiseUnaryLayer::ValidateTensorShapesFromInputs(), TransposeConvolution2dLayer::ValidateTensorShapesFromInputs(), SpaceToDepthLayer::ValidateTensorShapesFromInputs(), FullyConnectedLayer::ValidateTensorShapesFromInputs(), SpaceToBatchNdLayer::ValidateTensorShapesFromInputs(), PreluLayer::ValidateTensorShapesFromInputs(), DepthToSpaceLayer::ValidateTensorShapesFromInputs(), ComparisonLayer::ValidateTensorShapesFromInputs(), DepthwiseConvolution2dLayer::ValidateTensorShapesFromInputs(), Convolution2dLayer::ValidateTensorShapesFromInputs(), BatchNormalizationLayer::ValidateTensorShapesFromInputs(), QuantizedLstmLayer::ValidateTensorShapesFromInputs(), LstmLayer::ValidateTensorShapesFromInputs(), InputLayerVisitor::VisitInputLayer(), QuantizerVisitor::VisitInputLayer(), armnn::VisitLayersTopologically(), and QuantizerVisitor::VisitOutputLayer().

◆ IsTensorInfoSet()

virtual bool IsTensorInfoSet ( ) const
pure virtual

Implemented in OutputSlot.

Referenced by Graph::InferTensorInfos().

◆ SetTensorInfo()

virtual void SetTensorInfo ( const TensorInfo tensorInfo)
pure virtual

Implemented in OutputSlot.

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(), 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(), QuantizerVisitor::VisitInputLayer(), and QuantizerVisitor::VisitOutputLayer().


The documentation for this class was generated from the following file: