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

Commit

Permalink
Fix sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
agrabow committed Mar 2, 2021
1 parent 4b2c539 commit 4e8806d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/operator/subgraph/mkldnn/mkldnn_fc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,9 @@ void SgMKLDNNFCOp::Forward(const OpContext &ctx,
GetQuantizeScale(output.dtype(), cached_min_output_, cached_max_output_);
} else {
tmp_scale_ =
GetQuantizeScale(output.dtype(), cached_min_output_, cached_max_output_) / data_scale_;
GetQuantizeScale(output.dtype(),
cached_min_output_,
cached_max_output_) / data_scale_;
}
} else {
tmp_scale_ = 1.0 / data_scale_;
Expand Down

0 comments on commit 4e8806d

Please sign in to comment.