TensorRT

Description

Can anyone give a sample code to implement quantize and dequantize nodes in the Tensor RT network using Python API?

Thanks!!

Environment

TensorRT Version : ‘8.0.1.6’
GPU Type :
Nvidia Driver Version :
CUDA Version : 11.4
CUDNN Version : 8.2
Operating System + Version : ubuntu 20.04
Python Version (if applicable) : 3.8.10
TensorFlow Version (if applicable) :
PyTorch Version (if applicable) : ‘1.8.1+cu102’
Baremetal or Container (if container which image + tag) :

Relevant Files

Can anyone give a sample code to implement quantize and dequantize nodes in the Tensor RT network using Python API.

Thanks!!

Steps To Reproduce

Please include:

  • Exact steps/commands to build your repro
  • Exact steps/commands to run your repro
  • Full traceback of errors encountered

Hi,

Looks like this is duplicate post of following.