Skip to content

Commit

Permalink
remove depricated builder method call
Browse files Browse the repository at this point in the history
  • Loading branch information
masahi committed Sep 21, 2021
1 parent 8028d32 commit 9d8aa70
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/runtime/contrib/tensorrt/tensorrt_builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ TensorRTBuilder::TensorRTBuilder(TensorRTLogger* logger,
this->calibrator_ = calibrator;
if (calibrator != nullptr) {
use_int8_ = true;
builder_->setFp16Mode(true);
builder_->setInt8Mode(true);
builder_->setInt8Calibrator(calibrator);
}
network_ = builder_->createNetworkV2(flags);
#else
Expand Down

0 comments on commit 9d8aa70

Please sign in to comment.