How can I get output tensor name in python? Thanks
And from python sample, it does not need markOutput ?
Hi @ding9801,
You can always query the name of a tensor.
You can take reference from the below link for the same.
https://github.com/NVIDIA/TensorRT/tree/master/samples/opensource/samplePlugin
Thanks!
Thanks Aakanksha.
Is there python sample?
Python sample to get tensor names. How can I get tensor name in python?
Hi @ding9801,
Please refer to the below link for python API’s,
https://docs.nvidia.com/deeplearning/tensorrt/archives/tensorrt-721/api/python_api/infer/Graph/LayerBase.html#tensorrt.ITensor
Thanks!