tensorrt-capi go to samples, run make. then go to bin, run ./sample_mnist_api --fp16. This is based off the sampleMNISTAPI tutorial.