-
Notifications
You must be signed in to change notification settings - Fork 0
Internal CPU Plugin Optimizations
The CPU plugin supports several graph optimization algorithms, such as fusing or removing layers. Refer to the sections below for details.
NOTE: For layer descriptions, see the IR Notation Reference.
Merge of a convolution layer and any of the simple layers listed below:
- Activation: ReLU, ELU, Sigmoid, Clamp
- Depthwise: ScaleShift, PReLU
- FakeQuantize
NOTE: You can have any number and order of simple layers.
A combination of a convolution layer and simple layers results in a single fused layer called Convolution:
A combination of Pooling and FakeQuantize layers results in a single fused layer called Pooling:
A combination of FullyConnected and Activation layers results in a single fused layer called FullyConnected:
NOTE: This pattern is possible only on CPUs with support of Streaming SIMD Extensions 4.2 (SSE 4.2) and Intel AVX2 Instruction Set Architecture (ISA).
A combination of a group of a Convolution (or Binary Convolution) layer and simple layers and a group of a Depthwise Convolution layer and simple layers results in a single layer called Convolution (or Binary Convolution):
NOTE: Depthwise convolution layers should have the same values for the
group
, input channels, and output channels parameters.
A combination of convolution, simple, and Eltwise layers with the sum operation results in a single layer called Convolution:
If a topology contains the following pipeline, a CPU plugin merges split, convolution, and concatenation layers into a single convolution layer with the group parameter:
NOTE: Parameters of the convolution layers must coincide.
CPU plugin removes a Power layer from a topology if it has the following parameters:
- power = 1
- scale = 1
- offset = 0
© Copyright 2018-2022, OpenVINO team
- Home
- General resources
- How to build
-
Developer documentation
- Inference Engine architecture
- OpenVINO Python API
- CPU plugin
- GPU plugin
- HETERO plugin architecture
- Snippets
- Sample for IE C++/C/Python API
- Proxy plugin (Concept)
- Tests