24.02
|
Private implementation of INetwork. More...
#include <Network.hpp>
Public Member Functions | |
NetworkImpl (const NetworkOptions &networkOptions={}) | |
~NetworkImpl () | |
const Graph & | GetGraph () const |
Status | PrintGraph () |
IConnectableLayer * | AddInputLayer (LayerBindingId id, const char *name=nullptr) |
IConnectableLayer * | AddActivationLayer (const ActivationDescriptor &activationDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddAdditionLayer (const char *name=nullptr) |
IConnectableLayer * | AddArgMinMaxLayer (const ArgMinMaxDescriptor &desc, const char *name=nullptr) |
IConnectableLayer * | AddBatchMatMulLayer (const BatchMatMulDescriptor &desc, const char *name=nullptr) |
IConnectableLayer * | AddBatchNormalizationLayer (const BatchNormalizationDescriptor &desc, const ConstTensor &mean, const ConstTensor &variance, const ConstTensor &beta, const ConstTensor &gamma, const char *name=nullptr) |
IConnectableLayer * | AddBatchToSpaceNdLayer (const BatchToSpaceNdDescriptor &batchToSpaceNdDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddBroadcastToLayer (const BroadcastToDescriptor &descriptor, const char *name=nullptr) |
IConnectableLayer * | AddCastLayer (const char *name=nullptr) |
IConnectableLayer * | AddChannelShuffleLayer (const ChannelShuffleDescriptor &channelShuffleDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddComparisonLayer (const ComparisonDescriptor &comparisonDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddConcatLayer (const ConcatDescriptor &concatDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddConvolution2dLayer (const Convolution2dDescriptor &convolution2dDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddConvolution3dLayer (const Convolution3dDescriptor &convolution3dDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddConstantLayer (const ConstTensor &input, const char *name=nullptr) |
IConnectableLayer * | AddDepthToSpaceLayer (const DepthToSpaceDescriptor &depthToSpaceDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddDepthwiseConvolution2dLayer (const DepthwiseConvolution2dDescriptor &convolution2dDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddDequantizeLayer (const char *name=nullptr) |
IConnectableLayer * | AddDetectionPostProcessLayer (const DetectionPostProcessDescriptor &descriptor, const ConstTensor &anchors, const char *name=nullptr) |
IConnectableLayer * | AddDivisionLayer (const char *name=nullptr) |
IConnectableLayer * | AddElementwiseBinaryLayer (const ElementwiseBinaryDescriptor &elementwiseBinaryDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddElementwiseUnaryLayer (const ElementwiseUnaryDescriptor &elementwiseUnaryDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddMergeLayer (const char *name=nullptr) |
IConnectableLayer * | AddFillLayer (const FillDescriptor &fillDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddFloorLayer (const char *name=nullptr) |
IConnectableLayer * | AddFullyConnectedLayer (const FullyConnectedDescriptor &fullyConnectedDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddFusedLayer (const FusedDescriptor &fusedDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddGatherLayer (const GatherDescriptor &gatherDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddGatherNdLayer (const char *name=nullptr) |
IConnectableLayer * | AddInstanceNormalizationLayer (const InstanceNormalizationDescriptor &desc, const char *name=nullptr) |
IConnectableLayer * | AddL2NormalizationLayer (const L2NormalizationDescriptor &desc, const char *name=nullptr) |
IConnectableLayer * | AddLogSoftmaxLayer (const LogSoftmaxDescriptor &logSoftmaxDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddLogicalBinaryLayer (const LogicalBinaryDescriptor &logicalBinaryDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddLstmLayer (const LstmDescriptor &descriptor, const LstmInputParams ¶ms, const char *name=nullptr) |
IConnectableLayer * | AddMaximumLayer (const char *name=nullptr) |
IConnectableLayer * | AddMeanLayer (const MeanDescriptor &meanDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddMinimumLayer (const char *name=nullptr) |
IConnectableLayer * | AddMultiplicationLayer (const char *name=nullptr) |
IConnectableLayer * | AddNormalizationLayer (const NormalizationDescriptor &normalizationDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddOutputLayer (LayerBindingId id, const char *name=nullptr) |
IConnectableLayer * | AddPadLayer (const PadDescriptor &padDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddPermuteLayer (const PermuteDescriptor &permuteDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddPooling2dLayer (const Pooling2dDescriptor &pooling2dDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddPooling3dLayer (const Pooling3dDescriptor &pooling3dDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddPrecompiledLayer (const PreCompiledDescriptor &preCompiledDescriptor, CompiledBlobPtr compiledBlobPtr, const Optional< BackendId > &backend, const char *name=nullptr) |
IConnectableLayer * | AddPreluLayer (const char *name=nullptr) |
IConnectableLayer * | AddQuantizeLayer (const char *name=nullptr) |
IConnectableLayer * | AddQLstmLayer (const QLstmDescriptor &descriptor, const LstmInputParams ¶ms, const char *name=nullptr) |
IConnectableLayer * | AddQuantizedLstmLayer (const QuantizedLstmInputParams ¶ms, const char *name=nullptr) |
IConnectableLayer * | AddRankLayer (const char *name=nullptr) |
IConnectableLayer * | AddReduceLayer (const ReduceDescriptor &reduceDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddResizeLayer (const ResizeDescriptor &resizeDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddReshapeLayer (const ReshapeDescriptor &reshapeDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddReverseV2Layer (const char *name=nullptr) |
IConnectableLayer * | AddShapeLayer (const char *name=nullptr) |
IConnectableLayer * | AddSliceLayer (const SliceDescriptor &sliceDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddSoftmaxLayer (const SoftmaxDescriptor &softmaxDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddSplitterLayer (const ViewsDescriptor &splitterDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddSpaceToBatchNdLayer (const SpaceToBatchNdDescriptor &spaceToBatchNdDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddSpaceToDepthLayer (const SpaceToDepthDescriptor &spaceToDepthDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddStackLayer (const StackDescriptor &stackDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddStandInLayer (const StandInDescriptor &descriptor, const char *name=nullptr) |
IConnectableLayer * | AddStridedSliceLayer (const StridedSliceDescriptor &stridedSliceDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddSubtractionLayer (const char *name=nullptr) |
IConnectableLayer * | AddSwitchLayer (const char *name=nullptr) |
IConnectableLayer * | AddTileLayer (const TileDescriptor &tileDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddTransposeConvolution2dLayer (const TransposeConvolution2dDescriptor &descriptor, const ConstTensor &weights, const Optional< ConstTensor > &biases, const char *name=nullptr) |
IConnectableLayer * | AddTransposeLayer (const TransposeDescriptor &transposeDescriptor, const char *name=nullptr) |
IConnectableLayer * | AddUnidirectionalSequenceLstmLayer (const UnidirectionalSequenceLstmDescriptor &descriptor, const LstmInputParams ¶ms, const char *name=nullptr) |
IConnectableLayer * | AddConvertFp16ToFp32Layer (const char *name=nullptr) |
IConnectableLayer * | AddConvertFp32ToFp16Layer (const char *name=nullptr) |
void | ExecuteStrategy (IStrategy &strategy) const |
Private implementation of INetwork.
Definition at line 32 of file Network.hpp.
NetworkImpl | ( | const NetworkOptions & | networkOptions = {} | ) |
Definition at line 2173 of file Network.cpp.
~NetworkImpl | ( | ) |
Definition at line 2178 of file Network.cpp.
IConnectableLayer * AddActivationLayer | ( | const ActivationDescriptor & | activationDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2314 of file Network.cpp.
IConnectableLayer * AddAdditionLayer | ( | const char * | name = nullptr | ) |
Definition at line 2360 of file Network.cpp.
IConnectableLayer * AddArgMinMaxLayer | ( | const ArgMinMaxDescriptor & | desc, |
const char * | name = nullptr |
||
) |
Definition at line 2320 of file Network.cpp.
IConnectableLayer * AddBatchMatMulLayer | ( | const BatchMatMulDescriptor & | desc, |
const char * | name = nullptr |
||
) |
Definition at line 3035 of file Network.cpp.
IConnectableLayer * AddBatchNormalizationLayer | ( | const BatchNormalizationDescriptor & | desc, |
const ConstTensor & | mean, | ||
const ConstTensor & | variance, | ||
const ConstTensor & | beta, | ||
const ConstTensor & | gamma, | ||
const char * | name = nullptr |
||
) |
IConnectableLayer * AddBatchToSpaceNdLayer | ( | const BatchToSpaceNdDescriptor & | batchToSpaceNdDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2193 of file Network.cpp.
IConnectableLayer * AddBroadcastToLayer | ( | const BroadcastToDescriptor & | descriptor, |
const char * | name = nullptr |
||
) |
Definition at line 3083 of file Network.cpp.
IConnectableLayer * AddCastLayer | ( | const char * | name = nullptr | ) |
Definition at line 2199 of file Network.cpp.
IConnectableLayer * AddChannelShuffleLayer | ( | const ChannelShuffleDescriptor & | channelShuffleDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2203 of file Network.cpp.
IConnectableLayer * AddComparisonLayer | ( | const ComparisonDescriptor & | comparisonDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2209 of file Network.cpp.
IConnectableLayer * AddConcatLayer | ( | const ConcatDescriptor & | concatDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2245 of file Network.cpp.
IConnectableLayer * AddConstantLayer | ( | const ConstTensor & | input, |
const char * | name = nullptr |
||
) |
IConnectableLayer * AddConvertFp16ToFp32Layer | ( | const char * | name = nullptr | ) |
Definition at line 2257 of file Network.cpp.
IConnectableLayer * AddConvertFp32ToFp16Layer | ( | const char * | name = nullptr | ) |
Definition at line 2262 of file Network.cpp.
IConnectableLayer * AddConvolution2dLayer | ( | const Convolution2dDescriptor & | convolution2dDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2251 of file Network.cpp.
IConnectableLayer * AddConvolution3dLayer | ( | const Convolution3dDescriptor & | convolution3dDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2267 of file Network.cpp.
IConnectableLayer * AddDepthToSpaceLayer | ( | const DepthToSpaceDescriptor & | depthToSpaceDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2273 of file Network.cpp.
IConnectableLayer * AddDepthwiseConvolution2dLayer | ( | const DepthwiseConvolution2dDescriptor & | convolution2dDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2279 of file Network.cpp.
IConnectableLayer * AddDequantizeLayer | ( | const char * | name = nullptr | ) |
Definition at line 2629 of file Network.cpp.
IConnectableLayer * AddDetectionPostProcessLayer | ( | const DetectionPostProcessDescriptor & | descriptor, |
const ConstTensor & | anchors, | ||
const char * | name = nullptr |
||
) |
IConnectableLayer * AddDivisionLayer | ( | const char * | name = nullptr | ) |
Definition at line 2604 of file Network.cpp.
IConnectableLayer * AddElementwiseBinaryLayer | ( | const ElementwiseBinaryDescriptor & | elementwiseBinaryDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2215 of file Network.cpp.
IConnectableLayer * AddElementwiseUnaryLayer | ( | const ElementwiseUnaryDescriptor & | elementwiseUnaryDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2221 of file Network.cpp.
IConnectableLayer * AddFillLayer | ( | const FillDescriptor & | fillDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2227 of file Network.cpp.
IConnectableLayer * AddFloorLayer | ( | const char * | name = nullptr | ) |
Definition at line 2458 of file Network.cpp.
IConnectableLayer * AddFullyConnectedLayer | ( | const FullyConnectedDescriptor & | fullyConnectedDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2233 of file Network.cpp.
IConnectableLayer * AddFusedLayer | ( | const FusedDescriptor & | fusedDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2239 of file Network.cpp.
IConnectableLayer * AddGatherLayer | ( | const GatherDescriptor & | gatherDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2640 of file Network.cpp.
IConnectableLayer * AddGatherNdLayer | ( | const char * | name = nullptr | ) |
Definition at line 2646 of file Network.cpp.
IConnectableLayer * AddInputLayer | ( | LayerBindingId | id, |
const char * | name = nullptr |
||
) |
Definition at line 2188 of file Network.cpp.
IConnectableLayer * AddInstanceNormalizationLayer | ( | const InstanceNormalizationDescriptor & | desc, |
const char * | name = nullptr |
||
) |
Definition at line 2413 of file Network.cpp.
IConnectableLayer * AddL2NormalizationLayer | ( | const L2NormalizationDescriptor & | desc, |
const char * | name = nullptr |
||
) |
Definition at line 2419 of file Network.cpp.
IConnectableLayer * AddLogicalBinaryLayer | ( | const LogicalBinaryDescriptor & | logicalBinaryDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2887 of file Network.cpp.
IConnectableLayer * AddLogSoftmaxLayer | ( | const LogSoftmaxDescriptor & | logSoftmaxDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2425 of file Network.cpp.
IConnectableLayer * AddLstmLayer | ( | const LstmDescriptor & | descriptor, |
const LstmInputParams & | params, | ||
const char * | name = nullptr |
||
) |
Definition at line 2463 of file Network.cpp.
References LstmLayer::m_BasicParameters, LstmInputParams::m_CellBias, LstmInputParams::m_CellLayerNormWeights, LstmInputParams::m_CellToForgetWeights, LstmInputParams::m_CellToInputWeights, LstmInputParams::m_CellToOutputWeights, LstmInputParams::m_ForgetGateBias, LstmInputParams::m_ForgetLayerNormWeights, LstmInputParams::m_InputGateBias, LstmInputParams::m_InputLayerNormWeights, LstmInputParams::m_InputToCellWeights, LstmInputParams::m_InputToForgetWeights, LstmBasicParameters::m_InputToForgetWeights, LstmInputParams::m_InputToInputWeights, LstmInputParams::m_InputToOutputWeights, LstmInputParams::m_OutputGateBias, LstmInputParams::m_OutputLayerNormWeights, LstmInputParams::m_ProjectionBias, LstmInputParams::m_ProjectionWeights, LstmInputParams::m_RecurrentToCellWeights, LstmInputParams::m_RecurrentToForgetWeights, LstmInputParams::m_RecurrentToInputWeights, and LstmInputParams::m_RecurrentToOutputWeights.
IConnectableLayer * AddMaximumLayer | ( | const char * | name = nullptr | ) |
Definition at line 2350 of file Network.cpp.
IConnectableLayer * AddMeanLayer | ( | const MeanDescriptor & | meanDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2614 of file Network.cpp.
IConnectableLayer * AddMergeLayer | ( | const char * | name = nullptr | ) |
Definition at line 2651 of file Network.cpp.
IConnectableLayer * AddMinimumLayer | ( | const char * | name = nullptr | ) |
Definition at line 2355 of file Network.cpp.
IConnectableLayer * AddMultiplicationLayer | ( | const char * | name = nullptr | ) |
Definition at line 2365 of file Network.cpp.
IConnectableLayer * AddNormalizationLayer | ( | const NormalizationDescriptor & | normalizationDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2326 of file Network.cpp.
IConnectableLayer * AddOutputLayer | ( | LayerBindingId | id, |
const char * | name = nullptr |
||
) |
Definition at line 2370 of file Network.cpp.
IConnectableLayer * AddPadLayer | ( | const PadDescriptor & | padDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2619 of file Network.cpp.
IConnectableLayer * AddPermuteLayer | ( | const PermuteDescriptor & | permuteDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2296 of file Network.cpp.
IConnectableLayer * AddPooling2dLayer | ( | const Pooling2dDescriptor & | pooling2dDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2302 of file Network.cpp.
IConnectableLayer * AddPooling3dLayer | ( | const Pooling3dDescriptor & | pooling3dDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2308 of file Network.cpp.
IConnectableLayer * AddPrecompiledLayer | ( | const PreCompiledDescriptor & | preCompiledDescriptor, |
CompiledBlobPtr | compiledBlobPtr, | ||
const Optional< BackendId > & | backend, | ||
const char * | name = nullptr |
||
) |
Definition at line 3050 of file Network.cpp.
References Layer::GetBackendHint(), OptionalBase::has_value(), Layer::SetBackendId(), PreCompiledLayer::SetPreCompiledObject(), and OptionalReferenceSwitch< std::is_reference< T >::value, T >::value().
IConnectableLayer * AddPreluLayer | ( | const char * | name = nullptr | ) |
Definition at line 2661 of file Network.cpp.
IConnectableLayer * AddQLstmLayer | ( | const QLstmDescriptor & | descriptor, |
const LstmInputParams & | params, | ||
const char * | name = nullptr |
||
) |
Definition at line 2745 of file Network.cpp.
References QLstmLayer::m_BasicParameters, LstmInputParams::m_CellBias, LstmInputParams::m_CellLayerNormWeights, LstmInputParams::m_CellToForgetWeights, LstmInputParams::m_CellToInputWeights, LstmInputParams::m_CellToOutputWeights, LstmInputParams::m_ForgetGateBias, LstmInputParams::m_ForgetLayerNormWeights, LstmInputParams::m_InputGateBias, LstmInputParams::m_InputLayerNormWeights, LstmInputParams::m_InputToCellWeights, QLstmBasicParameters::m_InputToForgetWeights, LstmInputParams::m_InputToForgetWeights, LstmInputParams::m_InputToInputWeights, LstmInputParams::m_InputToOutputWeights, LstmInputParams::m_OutputGateBias, LstmInputParams::m_OutputLayerNormWeights, LstmInputParams::m_ProjectionBias, LstmInputParams::m_ProjectionWeights, LstmInputParams::m_RecurrentToCellWeights, LstmInputParams::m_RecurrentToForgetWeights, LstmInputParams::m_RecurrentToInputWeights, and LstmInputParams::m_RecurrentToOutputWeights.
IConnectableLayer * AddQuantizedLstmLayer | ( | const QuantizedLstmInputParams & | params, |
const char * | name = nullptr |
||
) |
Definition at line 2707 of file Network.cpp.
References QuantizedLstmInputParams::GetCellBias(), QuantizedLstmInputParams::GetForgetGateBias(), QuantizedLstmInputParams::GetInputGateBias(), QuantizedLstmInputParams::GetInputToCellWeights(), QuantizedLstmInputParams::GetInputToForgetWeights(), QuantizedLstmInputParams::GetInputToInputWeights(), QuantizedLstmInputParams::GetInputToOutputWeights(), QuantizedLstmInputParams::GetOutputGateBias(), QuantizedLstmInputParams::GetRecurrentToCellWeights(), QuantizedLstmInputParams::GetRecurrentToForgetWeights(), QuantizedLstmInputParams::GetRecurrentToInputWeights(), QuantizedLstmInputParams::GetRecurrentToOutputWeights(), QuantizedLstmParameters::m_InputToInputWeights, and QuantizedLstmLayer::m_QuantizedLstmParameters.
IConnectableLayer * AddQuantizeLayer | ( | const char * | name = nullptr | ) |
Definition at line 2624 of file Network.cpp.
IConnectableLayer * AddRankLayer | ( | const char * | name = nullptr | ) |
Definition at line 2392 of file Network.cpp.
IConnectableLayer * AddReduceLayer | ( | const ReduceDescriptor & | reduceDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2397 of file Network.cpp.
IConnectableLayer * AddReshapeLayer | ( | const ReshapeDescriptor & | reshapeDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2440 of file Network.cpp.
IConnectableLayer * AddResizeLayer | ( | const ResizeDescriptor & | resizeDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2403 of file Network.cpp.
IConnectableLayer * AddReverseV2Layer | ( | const char * | name = nullptr | ) |
Definition at line 3040 of file Network.cpp.
IConnectableLayer * AddShapeLayer | ( | const char * | name = nullptr | ) |
Definition at line 2408 of file Network.cpp.
IConnectableLayer * AddSliceLayer | ( | const SliceDescriptor & | sliceDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2333 of file Network.cpp.
IConnectableLayer * AddSoftmaxLayer | ( | const SoftmaxDescriptor & | softmaxDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2338 of file Network.cpp.
IConnectableLayer * AddSpaceToBatchNdLayer | ( | const SpaceToBatchNdDescriptor & | spaceToBatchNdDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2446 of file Network.cpp.
IConnectableLayer * AddSpaceToDepthLayer | ( | const SpaceToDepthDescriptor & | spaceToDepthDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2452 of file Network.cpp.
IConnectableLayer * AddSplitterLayer | ( | const ViewsDescriptor & | splitterDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2344 of file Network.cpp.
IConnectableLayer * AddStackLayer | ( | const StackDescriptor & | stackDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2694 of file Network.cpp.
IConnectableLayer * AddStandInLayer | ( | const StandInDescriptor & | descriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2701 of file Network.cpp.
IConnectableLayer * AddStridedSliceLayer | ( | const StridedSliceDescriptor & | stridedSliceDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2634 of file Network.cpp.
IConnectableLayer * AddSubtractionLayer | ( | const char * | name = nullptr | ) |
Definition at line 2609 of file Network.cpp.
IConnectableLayer * AddSwitchLayer | ( | const char * | name = nullptr | ) |
Definition at line 2656 of file Network.cpp.
IConnectableLayer * AddTileLayer | ( | const TileDescriptor & | tileDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 3045 of file Network.cpp.
IConnectableLayer * AddTransposeConvolution2dLayer | ( | const TransposeConvolution2dDescriptor & | descriptor, |
const ConstTensor & | weights, | ||
const Optional< ConstTensor > & | biases, | ||
const char * | name = nullptr |
||
) |
Definition at line 2666 of file Network.cpp.
References OptionalBase::has_value(), TransposeConvolution2dDescriptor::m_BiasEnabled, TransposeConvolution2dLayer::m_Weight, and OptionalReferenceSwitch< std::is_reference< T >::value, T >::value().
IConnectableLayer * AddTransposeLayer | ( | const TransposeDescriptor & | transposeDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2688 of file Network.cpp.
IConnectableLayer * AddUnidirectionalSequenceLstmLayer | ( | const UnidirectionalSequenceLstmDescriptor & | descriptor, |
const LstmInputParams & | params, | ||
const char * | name = nullptr |
||
) |
Definition at line 2893 of file Network.cpp.
References UnidirectionalSequenceLstmLayer::m_BasicParameters, LstmInputParams::m_CellBias, LstmInputParams::m_CellLayerNormWeights, LstmInputParams::m_CellToForgetWeights, LstmInputParams::m_CellToInputWeights, LstmInputParams::m_CellToOutputWeights, LstmInputParams::m_ForgetGateBias, LstmInputParams::m_ForgetLayerNormWeights, LstmInputParams::m_InputGateBias, LstmInputParams::m_InputLayerNormWeights, LstmInputParams::m_InputToCellWeights, LstmInputParams::m_InputToForgetWeights, LstmBasicParameters::m_InputToForgetWeights, LstmInputParams::m_InputToInputWeights, LstmInputParams::m_InputToOutputWeights, LstmInputParams::m_OutputGateBias, LstmInputParams::m_OutputLayerNormWeights, LstmInputParams::m_ProjectionBias, LstmInputParams::m_ProjectionWeights, LstmInputParams::m_RecurrentToCellWeights, LstmInputParams::m_RecurrentToForgetWeights, LstmInputParams::m_RecurrentToInputWeights, and LstmInputParams::m_RecurrentToOutputWeights.
void ExecuteStrategy | ( | IStrategy & | strategy | ) | const |
|
inline |
Definition at line 38 of file Network.hpp.
Referenced by NetworkImpl::ExecuteStrategy().
Status PrintGraph | ( | ) |
Definition at line 2182 of file Network.cpp.
References armnn::Success.