We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello! I want to find out the BindingIndex by the tensor name. How can I do this, provided that the getBindingIndex() method is deprecated in 8.5.
TensorRT Version: 8.6
NVIDIA GPU: RTX 3060
NVIDIA Driver Version: 545.23.06
CUDA Version: 11.1
CUDNN Version: 8.0.4
Operating System:
Python Version (if applicable): 3.8
PyTorch Version (if applicable): 10.1
The text was updated successfully, but these errors were encountered:
If you just want to get shape(dims) of tensor(binding), use getTensorShape(char const * tensorName), when TensorRT Version is 8.6
getTensorShape(char const * tensorName)
Ref https://docs.nvidia.com/deeplearning/tensorrt/api/c_api/classnvinfer1_1_1_i_cuda_engine.html#af96a2ee402ab47b7e0b7f0becb63d693
Sorry, something went wrong.
No branches or pull requests
Description
Hello!
I want to find out the BindingIndex by the tensor name.
How can I do this, provided that the getBindingIndex() method is deprecated in 8.5.
Environment
TensorRT Version: 8.6
NVIDIA GPU: RTX 3060
NVIDIA Driver Version: 545.23.06
CUDA Version: 11.1
CUDNN Version: 8.0.4
Operating System:
Python Version (if applicable): 3.8
PyTorch Version (if applicable): 10.1
The text was updated successfully, but these errors were encountered: