Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / src / extension / README.md
1 CPU Extensions
2 ===========================
3
4 ## Introducing CPU Extensions
5
6 The CPU extensions library contains code of important layers that do not come with the [CPU plugin](./docs/IE_DG/supported_plugins/CPU.md).
7 You should compile this library and use the <code>AddExtension</code> method in your application to load the extensions when for models featuring layers from this library.
8 Refer to other samples for <code>AddExtension</code> code examples.
9
10 When you compile the entire list of the samples, this library (its target name is "cpu_extension)" is compiled automatically.
11
12 For performance reasons, the library's cmake script automatically detects configuration of your machine and enables optimizations for your platform.
13 Alternatively, you can explicitly use special cmake flags: <code>-DENABLE_AVX2=ON</code>, <code>-DENABLE_AVX512F=ON</code> or <code>-DENABLE_SSE42=ON</code>
14 when cross-compiling this library for another platform.
15
16 ## List of layers that come within the library
17
18  * ArgMax
19  * CTCGreedyDecoder
20  * DepthToSpace
21  * DetectionOutput
22  * Expand
23  * Fill
24  * Gather
25  * GRN
26  * Interp
27  * MVN
28  * Normalize
29  * PowerFile
30  * PReLU
31  * PriorBox
32  * PriorBoxClustered
33  * Proposal
34  * PSROIPooling
35  * Range
36  * RegionYolo
37  * ReorgYolo
38  * Resample
39  * ReverseSequence
40  * ShuffleChannels
41  * SimplerNMS
42  * SpaceToDepth
43  * Squeeze
44  * StridedSlice
45  * Unsqueeze
46
47 In order to add a new layer, you can use [the extensibility mechanism](./docs/IE_DG/Integrate_your_kernels_into_IE.md).
48
49 ## See Also
50 * [CPU](./docs/IE_DG/supported_plugins/CPU.md)
51 * [Supported Devices](./docs/IE_DG/supported_plugins/Supported_Devices.md)