How can I convert uff file to tensorflow frozen graph?

I have a uff file ,and I want to convert it to tensorflow frozen graph,How can I do it?

Because when I build a tensorRT inference engine,I get error tip below:

[TensorRT] ERROR: UffParser: Graph error: Cycle graph detected
[TensorRT] ERROR: Network must have at least one output

So I want to convert the uff file to tensorflow frozen graph and use tensorboard to show whether there is a cycle in my graph.