Skip to content

Commit fc70267

Browse files
committed
fix(//cpp/api): Remove unecessary destructor in ptq class
Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent 0050f0e commit fc70267

File tree

1 file changed

+0
-4
lines changed
  • cpp/api/include/trtorch

1 file changed

+0
-4
lines changed

cpp/api/include/trtorch/ptq.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,6 @@ class Int8Calibrator : Algorithm {
9393
return reinterpret_cast<nvinfer1::IInt8Calibrator*>(this);
9494
}
9595

96-
~Int8Calibrator() {
97-
delete dataloader_;
98-
}
99-
10096
private:
10197
DataLoader* dataloader_;
10298
torch::data::Iterator<Batch> it_;

0 commit comments

Comments
 (0)