Skip to content

Commit 825be69

Browse files
committed
fix(//cpp/api): set a default for calibrator
Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent 3afd209 commit 825be69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/api/include/trtorch/trtorch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ struct TRTORCH_API ExtraInfo {
215215
/**
216216
* Calibration dataloaders for each input for post training quantizatiom
217217
*/
218-
nvinfer1::IInt8Calibrator* ptq_calibrator;
218+
nvinfer1::IInt8Calibrator* ptq_calibrator = nullptr;
219219
};
220220

221221
/**

0 commit comments

Comments
 (0)