DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

/dvs/git/dirty/gitlab-master_av/dw/sdk/samples/dnn/sample_dnn_plugin/README.md
Go to the documentation of this file.
1 # Copyright (c) 2019-2020 NVIDIA CORPORATION. All rights reserved.
2 
3 @page dwx_dnn_plugin_sample DNN Plugin Sample
4 @tableofcontents
5 
6 @note SW Release Applicability: This sample is available in both **NVIDIA DriveWorks** and **NVIDIA DRIVE Software** releases.
7 
8 @section dwx_dnn_plugin_description Description
9 
10 The DNN Plugin sample loads and runs an MNIST network with a custom implementation of the max pooling layer.
11 
12 **PoolPlugin.cpp** implements this layer and defines the functions that are required by DriveWorks to load
13 a plugin. This file is then compiled as a shared library, which is then loaded by **sample_dnn_plugin** executable
14 at runtime.
15 
16 @section dwx_dnn_plugin_running Running the Sample
17 
18 The command line for the sample is:
19 
20  ./sample_dnn_plugin
21 
22 @note This sample loads mnist digit recognition network from:
23 
24 - data/samples/dnn/volta if the detected GPU has VOLTA architecture.
25 - data/samples/dnn/turing if the detected GPU has TURING architecture.
26 
27 @section dwx_dnn_plugin_output Output
28 
29 The sample creates a window, displays a white screen where a hand-drawn digit will be recognized via aforementioned MNIST network model.
30 
31 ![Digit being recognized using DNN with a plugin](sample_dnn_plugin.png)
32 
33 @section dwx_dnn_plugin_more Additional Information
34 
35 For more information, see @ref dwx_dnn_plugins.