Multiple inputs/outputs in TensorRT

I have a trained model in onnx format. It has 9 outputs. In developer guide I only see example for 1 input and I output:

int inputIndex = engine->getBindingIndex(INPUT_BLOB_NAME);
int outputIndex = engine->getBindingIndex(OUTPUT_BLOB_NAME);

void* buffers[2];
buffers[inputIndex] = inputBuffer;
buffers[outputIndex] = outputBuffer;

I would like to have some examples about dealing with multiple inputs/outputs in tensorrt. Thanks so much!

Hi @xxxpsyduck,

You may find the answer to your query here

Updated link for above mentioned post.

Thank you.