Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
backport #20277
Browse files Browse the repository at this point in the history
Signed-off-by: Serge Panev <spanev@nvidia.com>
  • Loading branch information
Kh4L authored May 21, 2021
1 parent 22a8308 commit 7ce251e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/operator/subgraph/tensorrt/tensorrt-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,8 @@ class TensorrtProperty : public SubgraphProperty {

void PrePartition(const nnvm::Graph& g,
const std::unordered_map<std::string, std::string>& options_map) override {
fp16_mode_ = false;
int8_mode_ = false;
auto it_precision = options_map.find("precision");
if (it_precision != options_map.end()) {
auto precision_string = it_precision->second;
Expand Down

0 comments on commit 7ce251e

Please sign in to comment.