mnist/alexnet without caffemodel

Hi,

I am working on creating Alexnet/mnist without using caffemodel as input to TensorRT.
It would be great if you could provide me the sample code to create the network using different layers,create gieobject model and how to run gieobject model for alexnet/mnist.
I can only see the caffemodel implementation of the mnist in tensorrt sample examples.

Reason I am asking is I want to create new CNN without using caffe .

Thanks.

Its already there mnist_api I have overlooked it.