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

[v1.9] backport #20277 #20291

Merged
merged 1 commit into from
May 21, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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