TensorRT version 22.214.171.124
auto layer = net->addResize(*in); layer->setOutputDimensions(outShape);
To work with dynamic batch size, the first dimension of outShape is set -1. Then, TensorRT complains “…/builder/cudnnBuilderGraph.cpp (780) - Assertion Error in checkDimsSanity: 0 (dims.d[i] >= 0)”.
So, how can I make IResizeLayer works with dynamic batch size? Or this is not supported?