Data Structures | Functions
InferenceEngine::Builder Namespace Reference

Neural network builder API. More...

Data Structures

class  ValidatorRegisterBase
 This class registers layer validators. More...
 
struct  ValidatorsHolder
 This structure implements a holder for validators. More...
 

Functions

class INFERENCE_ENGINE_NN_BUILDER_API_CLASS (Layer)
 This class implements a builder for IE Layer. More...
 
class INFERENCE_ENGINE_NN_BUILDER_API_CLASS (LayerDecorator)
 This class defines the basic functional for layer builders. More...
 

Detailed Description

Neural network builder API.

Function Documentation

§ INFERENCE_ENGINE_NN_BUILDER_API_CLASS() [1/2]

class InferenceEngine::Builder::INFERENCE_ENGINE_NN_BUILDER_API_CLASS ( Layer  )

This class implements a builder for IE Layer.

Deprecated:
Use ngraph API instead.

A shared pointer to the Layer builder

A shared pointer to the constant Layer builder

The constructor creates a Layer builder with layer type and layer name

Parameters
typeLayer type
nameLayer name

The constructor creates a Layer builder from shared pointer to constant ILayer

Parameters
layershared pointer to constant ILayer

The constructor creates a Layer builder with layer ID and layer builder

Parameters
idLayer ID
layerlayer builder

Compares the given Layer builder with the current one

Parameters
rhsLayer builder to compare with
Returns
true if the given Layer builder is equal to the current one, false - otherwise

Returns layer ID

Returns
Layer ID

Returns a constant reference to layer name

Returns
Layer name

Sets layer name

Parameters
nameLayer name
Returns
Reference to Layer builder

Returns a constant reference to layer type

Returns
Layer type

Sets layer type

Parameters
typeLayer type
Returns
Reference to Layer builder

Returns map of parameters

Returns
map of parameters

Returns map of parameters

Returns
map of parameters

Sets parameters for layer

Parameters
paramsconstant map of parameters
Returns
Reference to Layer builder

Returns vector of input ports

Returns
Vector of input ports

Returns vector of input ports

Returns
Vector of input ports

Sets input ports

Parameters
portsvector of ports
Returns
Reference to Layer builder

Returns vector of output ports

Returns
Vector of output ports

Returns vector of output ports

Returns
Vector of output ports

Sets output ports

Parameters
portsvector of ports
Returns
Reference to Layer builder

Validates the current builder and generates ILayer object

Returns
constant shared pointer to ILayer

Validates layer builder

Registers a new validator for type

Parameters
typeLayer type
validatorLayer validator

§ INFERENCE_ENGINE_NN_BUILDER_API_CLASS() [2/2]

class InferenceEngine::Builder::INFERENCE_ENGINE_NN_BUILDER_API_CLASS ( LayerDecorator  )

This class defines the basic functional for layer builders.

Deprecated:
Use ngraph API instead.

The constructor creates layer builders with layer type and layer name

Parameters
typeLayer type
nameLayer name

The constructor creates layer builders from reference to generic layer builder

Parameters
layerpointer to generic layer builder

The constructor creates layer builders from reference to generic layer builder

Parameters
layerconstant pointer to generic layer builder

The copy constructor

Parameters
rvalSource builder

Copy operator for LayerDecorator

Parameters
rval
Returns
Layer builder

Virtual destructor

The operator creates generic builder

Returns
Generic builder

The operator creates generic builder

Returns
Pointer to generic builder

The operator creates generic builder

Returns
Constant pointer to generic builder

Returns layer type

Returns
Layer type

Returns layer name

Returns
Layer name