I’m trying to convert a tf frozen graph into trt graph using the
class. My input has undefined shape so I have to set
is_dynamic_op=True. I can see that is building a new TensorRT engine at runtime.
My question are:
- Can I get the optimized engine on a specific input shape and serialize it to disk?
- If I change my tf frozen graph to have fixed shape and run the conversion with
is_dynamic_op=False, it will build the optimized engine during conversion, will this engine be serialized along with my trt graph?