24.08
|
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 * | AddScatterNdLayer (const ScatterNdDescriptor &scatterDescriptor, 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 2186 of file Network.cpp.
~NetworkImpl | ( | ) |
Definition at line 2191 of file Network.cpp.
IConnectableLayer * AddActivationLayer | ( | const ActivationDescriptor & | activationDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2327 of file Network.cpp.
IConnectableLayer * AddAdditionLayer | ( | const char * | name = nullptr | ) |
Definition at line 2373 of file Network.cpp.
IConnectableLayer * AddArgMinMaxLayer | ( | const ArgMinMaxDescriptor & | desc, |
const char * | name = nullptr |
||
) |
Definition at line 2333 of file Network.cpp.
IConnectableLayer * AddBatchMatMulLayer | ( | const BatchMatMulDescriptor & | desc, |
const char * | name = nullptr |
||
) |
Definition at line 3048 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 2206 of file Network.cpp.
IConnectableLayer * AddBroadcastToLayer | ( | const BroadcastToDescriptor & | descriptor, |
const char * | name = nullptr |
||
) |
Definition at line 3096 of file Network.cpp.
IConnectableLayer * AddCastLayer | ( | const char * | name = nullptr | ) |
Definition at line 2212 of file Network.cpp.
IConnectableLayer * AddChannelShuffleLayer | ( | const ChannelShuffleDescriptor & | channelShuffleDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2216 of file Network.cpp.
IConnectableLayer * AddComparisonLayer | ( | const ComparisonDescriptor & | comparisonDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2222 of file Network.cpp.
IConnectableLayer * AddConcatLayer | ( | const ConcatDescriptor & | concatDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2258 of file Network.cpp.
IConnectableLayer * AddConstantLayer | ( | const ConstTensor & | input, |
const char * | name = nullptr |
||
) |
IConnectableLayer * AddConvertFp16ToFp32Layer | ( | const char * | name = nullptr | ) |
Definition at line 2270 of file Network.cpp.
IConnectableLayer * AddConvertFp32ToFp16Layer | ( | const char * | name = nullptr | ) |
Definition at line 2275 of file Network.cpp.
IConnectableLayer * AddConvolution2dLayer | ( | const Convolution2dDescriptor & | convolution2dDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2264 of file Network.cpp.
IConnectableLayer * AddConvolution3dLayer | ( | const Convolution3dDescriptor & | convolution3dDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2280 of file Network.cpp.
IConnectableLayer * AddDepthToSpaceLayer | ( | const DepthToSpaceDescriptor & | depthToSpaceDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2286 of file Network.cpp.
IConnectableLayer * AddDepthwiseConvolution2dLayer | ( | const DepthwiseConvolution2dDescriptor & | convolution2dDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2292 of file Network.cpp.
IConnectableLayer * AddDequantizeLayer | ( | const char * | name = nullptr | ) |
Definition at line 2642 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 2617 of file Network.cpp.
IConnectableLayer * AddElementwiseBinaryLayer | ( | const ElementwiseBinaryDescriptor & | elementwiseBinaryDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2228 of file Network.cpp.
IConnectableLayer * AddElementwiseUnaryLayer | ( | const ElementwiseUnaryDescriptor & | elementwiseUnaryDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2234 of file Network.cpp.
IConnectableLayer * AddFillLayer | ( | const FillDescriptor & | fillDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2240 of file Network.cpp.
IConnectableLayer * AddFloorLayer | ( | const char * | name = nullptr | ) |
Definition at line 2471 of file Network.cpp.
IConnectableLayer * AddFullyConnectedLayer | ( | const FullyConnectedDescriptor & | fullyConnectedDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2246 of file Network.cpp.
IConnectableLayer * AddFusedLayer | ( | const FusedDescriptor & | fusedDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2252 of file Network.cpp.
IConnectableLayer * AddGatherLayer | ( | const GatherDescriptor & | gatherDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2653 of file Network.cpp.
IConnectableLayer * AddGatherNdLayer | ( | const char * | name = nullptr | ) |
Definition at line 2659 of file Network.cpp.
IConnectableLayer * AddInputLayer | ( | LayerBindingId | id, |
const char * | name = nullptr |
||
) |
Definition at line 2201 of file Network.cpp.
IConnectableLayer * AddInstanceNormalizationLayer | ( | const InstanceNormalizationDescriptor & | desc, |
const char * | name = nullptr |
||
) |
Definition at line 2426 of file Network.cpp.
IConnectableLayer * AddL2NormalizationLayer | ( | const L2NormalizationDescriptor & | desc, |
const char * | name = nullptr |
||
) |
Definition at line 2432 of file Network.cpp.
IConnectableLayer * AddLogicalBinaryLayer | ( | const LogicalBinaryDescriptor & | logicalBinaryDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2900 of file Network.cpp.
IConnectableLayer * AddLogSoftmaxLayer | ( | const LogSoftmaxDescriptor & | logSoftmaxDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2438 of file Network.cpp.
IConnectableLayer * AddLstmLayer | ( | const LstmDescriptor & | descriptor, |
const LstmInputParams & | params, | ||
const char * | name = nullptr |
||
) |
Definition at line 2476 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 2363 of file Network.cpp.
IConnectableLayer * AddMeanLayer | ( | const MeanDescriptor & | meanDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2627 of file Network.cpp.
IConnectableLayer * AddMergeLayer | ( | const char * | name = nullptr | ) |
Definition at line 2664 of file Network.cpp.
IConnectableLayer * AddMinimumLayer | ( | const char * | name = nullptr | ) |
Definition at line 2368 of file Network.cpp.
IConnectableLayer * AddMultiplicationLayer | ( | const char * | name = nullptr | ) |
Definition at line 2378 of file Network.cpp.
IConnectableLayer * AddNormalizationLayer | ( | const NormalizationDescriptor & | normalizationDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2339 of file Network.cpp.
IConnectableLayer * AddOutputLayer | ( | LayerBindingId | id, |
const char * | name = nullptr |
||
) |
Definition at line 2383 of file Network.cpp.
IConnectableLayer * AddPadLayer | ( | const PadDescriptor & | padDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2632 of file Network.cpp.
IConnectableLayer * AddPermuteLayer | ( | const PermuteDescriptor & | permuteDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2309 of file Network.cpp.
IConnectableLayer * AddPooling2dLayer | ( | const Pooling2dDescriptor & | pooling2dDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2315 of file Network.cpp.
IConnectableLayer * AddPooling3dLayer | ( | const Pooling3dDescriptor & | pooling3dDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2321 of file Network.cpp.
IConnectableLayer * AddPrecompiledLayer | ( | const PreCompiledDescriptor & | preCompiledDescriptor, |
CompiledBlobPtr | compiledBlobPtr, | ||
const Optional< BackendId > & | backend, | ||
const char * | name = nullptr |
||
) |
Definition at line 3063 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 2674 of file Network.cpp.
IConnectableLayer * AddQLstmLayer | ( | const QLstmDescriptor & | descriptor, |
const LstmInputParams & | params, | ||
const char * | name = nullptr |
||
) |
Definition at line 2758 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 2720 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 2637 of file Network.cpp.
IConnectableLayer * AddRankLayer | ( | const char * | name = nullptr | ) |
Definition at line 2405 of file Network.cpp.
IConnectableLayer * AddReduceLayer | ( | const ReduceDescriptor & | reduceDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2410 of file Network.cpp.
IConnectableLayer * AddReshapeLayer | ( | const ReshapeDescriptor & | reshapeDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2453 of file Network.cpp.
IConnectableLayer * AddResizeLayer | ( | const ResizeDescriptor & | resizeDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2416 of file Network.cpp.
IConnectableLayer * AddReverseV2Layer | ( | const char * | name = nullptr | ) |
Definition at line 3053 of file Network.cpp.
IConnectableLayer * AddScatterNdLayer | ( | const ScatterNdDescriptor & | scatterDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 3101 of file Network.cpp.
IConnectableLayer * AddShapeLayer | ( | const char * | name = nullptr | ) |
Definition at line 2421 of file Network.cpp.
IConnectableLayer * AddSliceLayer | ( | const SliceDescriptor & | sliceDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2346 of file Network.cpp.
IConnectableLayer * AddSoftmaxLayer | ( | const SoftmaxDescriptor & | softmaxDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2351 of file Network.cpp.
IConnectableLayer * AddSpaceToBatchNdLayer | ( | const SpaceToBatchNdDescriptor & | spaceToBatchNdDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2459 of file Network.cpp.
IConnectableLayer * AddSpaceToDepthLayer | ( | const SpaceToDepthDescriptor & | spaceToDepthDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2465 of file Network.cpp.
IConnectableLayer * AddSplitterLayer | ( | const ViewsDescriptor & | splitterDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2357 of file Network.cpp.
IConnectableLayer * AddStackLayer | ( | const StackDescriptor & | stackDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2707 of file Network.cpp.
IConnectableLayer * AddStandInLayer | ( | const StandInDescriptor & | descriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2714 of file Network.cpp.
IConnectableLayer * AddStridedSliceLayer | ( | const StridedSliceDescriptor & | stridedSliceDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 2647 of file Network.cpp.
IConnectableLayer * AddSubtractionLayer | ( | const char * | name = nullptr | ) |
Definition at line 2622 of file Network.cpp.
IConnectableLayer * AddSwitchLayer | ( | const char * | name = nullptr | ) |
Definition at line 2669 of file Network.cpp.
IConnectableLayer * AddTileLayer | ( | const TileDescriptor & | tileDescriptor, |
const char * | name = nullptr |
||
) |
Definition at line 3058 of file Network.cpp.
IConnectableLayer * AddTransposeConvolution2dLayer | ( | const TransposeConvolution2dDescriptor & | descriptor, |
const ConstTensor & | weights, | ||
const Optional< ConstTensor > & | biases, | ||
const char * | name = nullptr |
||
) |
Definition at line 2679 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 2701 of file Network.cpp.
IConnectableLayer * AddUnidirectionalSequenceLstmLayer | ( | const UnidirectionalSequenceLstmDescriptor & | descriptor, |
const LstmInputParams & | params, | ||
const char * | name = nullptr |
||
) |
Definition at line 2906 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 2195 of file Network.cpp.
References armnn::Success.