f="#how-to-create-your-own-ptq-application-in-python" title="Permalink to this headline">
         ¶
        </a>
       </h2>
       <p>
        TRTorch Python API provides an easy and convenient way to use pytorch dataloaders with TensorRT calibrators.
        <code class="docutils literal notranslate">
         <span class="pre">
          DataLoaderCalibrator
         </span>
        </code>
        class can be used to create
a TensorRT calibrator by providing desired configuration. The following code