Skip to content

Commit

Permalink
fix(//cpp/api): Remove unecessary destructor in ptq class
Browse files Browse the repository at this point in the history
Signed-off-by: Naren Dasan <[email protected]>
Signed-off-by: Naren Dasan <[email protected]>
  • Loading branch information
narendasan committed Apr 23, 2020
1 parent 0050f0e commit fc70267
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cpp/api/include/trtorch/ptq.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ class Int8Calibrator : Algorithm {
return reinterpret_cast<nvinfer1::IInt8Calibrator*>(this);
}

~Int8Calibrator() {
delete dataloader_;
}

private:
DataLoader* dataloader_;
torch::data::Iterator<Batch> it_;
Expand Down

0 comments on commit fc70267

Please sign in to comment.