What does "explicitBatch" do when using "trtexec"?

Hi

I am using “trtexec” to convert my .onnx files to TensorRT.
What does “explicitBatch” do?
When I used it (I copied an example) I got the following error:

But when I removed it, it seems that everything went alright as a new file (.engine) has been created. See this other image:

Hi,

explicit batch is required when using the dynamic shapes for inference.
For other usage, you can create the engine with implicit batch.

Please check this document for more information:

Thanks.