Creating .wts file in SampleMNISTAPI for a tensorflow model


I want to deploy tensorflow model to Jetson, so once i create model in c++ using network definition TensorRT api, how to create .wts file so that I can load weights as given sampleMNISTAPI example. Though it has been mentioned, its a space separated file, [type] , but I am still a little confuse. Some clarification would be more helpful.

Thank you

Ok, I am so sorry, I checked with the samples of TensorRT4, the sample code has been given to dump weights to a .wts file. I was working TensortRT3 ver.