Skip to content

Instantly share code, notes, and snippets.

View GrimMaple's full-sized avatar
🐦
What the hell am I doing anyway?

Grim Maple GrimMaple

🐦
What the hell am I doing anyway?
View GitHub Profile
@GrimMaple
GrimMaple / sampleMNIST.cpp
Created November 14, 2018 10:04
Batch MNIST Sample
//! \file sampleMNIST.cpp
//! \brief This file contains the implementation of the MNIST sample.
//!
//! It builds a TensorRT engine by importing a trained MNIST Caffe model. It uses the engine to run
//! inference on an input image of a digit.
//! It can be run with the following command line:
//! Command: ./sample_mnist [-h or --help] [-d=/path/to/data/dir or --datadir=/path/to/data/dir]
#include "common.h"
#include "argsParser.h"