workif (!context->enqueue(stream)) { return false; } Sorry, I didn't show the code completely. I've used setTensor before enqueueV3 and my input isn't dynamic lix19937 commented Jul 10, 2024 You can ref https://github/lix19937/trt-samples-for-hackathoncn/blob/master/cookbook/01...