The DNN Plugin sample loads and runs an MNIST network with a custom implementation of the max pooling layer.
PoolPlugin.cpp implements this layer and defines the functions that are required by DriveWorks to load a plugin. This file is then compiled as a shared library, which is then loaded by sample_dnn_plugin executable at runtime.
The command line for the sample is:
./sample_dnn_plugin
The sample creates a window, displays a white screen where a hand-drawn digit will be recognized via aforementioned MNIST network model.
For more information, see DNN Plugins.