Converting tensorflow model to tensorrt

i’am deploying a tensorflow model on my jetson tx2 for inference . i would like to convert the model to tensorrt for high speed inference. the model is saved after training in two different ways .
the first is :
model file ( .hdf5 type )
weights file ( .hdf5 type )
the second is :
model file ( .pb type )
variables folder

i’d like to know whether these type would be useful in the conversion process or is there any missing files ?
if it isn’t , what is the required files should i have after saving the model in order to convert it to tensorrt?