parameters: (self)
return_statement: return 1
docstring: Overrides from trt.IInt8EntropyCalibrator2.
          Get the batch size to use for calibration.
          :return: Batch size.
docstring_summary: Overrides from trt.IInt8EntropyCalibrator2.
          Get the batch size to use for calibration.
          :return: Batch size.
docstring_tokens: Overrides from trt . IInt8EntropyCalibrator2 . Get the batch size to use for calibration . : return : Batch size .
function: def get_batch_size(self):
          """
          Overrides from trt.IInt8EntropyCalibrator2.
          Get the batch size to use for calibration.
          :return: Batch size.
          """
          if self.image_batcher:
              return self.image_batcher.batch_size
          return 1
function_tokens: def get_batch_size ( self ) : if self . image_batcher : return self . image_batcher . batch_size return 1