Please look into the Python API function in class tensorrt.infer.NetworkDefinition:
addConcatenation(ITensor *const *inputs, int nbInputs)=0 → IConcatenationLayer *
The ITensor *const *inputs is C pointer, but in Python I cannot create a similar thing either using tuples or list. Is this not wrapped in SWIG by mistake?
Thank you for your reply. They are two different issues. Here, I am wondering how I can pass the first argument for addConcatenation in Python, which is a ITensor *const *inputs type.
For example, I want to concatenate the outputs of Layer_1 and Layer_2, but by Layer_1.get_output(0) and Layer_2.get_output(0) I can only get two ITensor * variables.