1 # Copyright (c) 2019-2020 NVIDIA CORPORATION. All rights reserved.
3 @page dwx_dnn_plugin_sample DNN Plugin Sample
6 @section dwx_dnn_plugin_description Description
8 The DNN Plugin sample loads and runs an MNIST network with a custom implementation of the max pooling layer.
10 **PoolPlugin.cpp** implements this layer and defines the functions that are required by DriveWorks to load
11 a plugin. This file is then compiled as a shared library, which is then loaded by **sample_dnn_plugin** executable
14 @section dwx_dnn_plugin_running Running the Sample
16 The command line for the sample is:
21 Accepts the following optional parameters:
23 ./sample_dnn_tensor --tensorRT_model=[path/to/TensorRT/model]
27 --tensorRT_model=[path/to/TensorRT/model]
28 Specifies the path to the NVIDIA<sup>®</sup> TensorRT<sup>™</sup>
30 The loaded network is expected to have a output blob named "prob".
31 Default value: path/to/data/samples/dnn/<gpu-architecture>/mnist.bin, where <gpu-architecture> can be `volta-discrete` or `volta-integrated` or `turing`.
33 @note This sample loads mnist digit recognition network from:
35 - data/samples/dnn/volta if the detected GPU has VOLTA architecture.
36 - data/samples/dnn/turing if the detected GPU has TURING architecture.
38 @section dwx_dnn_plugin_output Output
40 The sample creates a window, displays a white screen where a hand-drawn digit will be recognized via aforementioned MNIST network model.
42 
44 @section dwx_dnn_plugin_more Additional Information
46 For more information, see @ref dwx_dnn_plugins.