Skip to content

Commit

Permalink
Fix space.
Browse files Browse the repository at this point in the history
  • Loading branch information
anijain2305 committed Apr 9, 2020
1 parent 8a0f8dc commit 8535134
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions python/tvm/_ffi/_pyversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
#----------------------------
# Python3 version.
#----------------------------
# if not (sys.version_info[0] >= 3 and sys.version_info[1] >= 6):
# PY3STATEMENT = "The minimal Python requirement is Python 3.6"
# raise Exception(PY3STATEMENT)
if not (sys.version_info[0] >= 3 and sys.version_info[1] >= 6):
PY3STATEMENT = "The minimal Python requirement is Python 3.6"
raise Exception(PY3STATEMENT)
6 changes: 3 additions & 3 deletions src/relay/qnn/op/requantize.cc
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,9 @@ Expr RequantizeLower(const Expr& input_tensor, const Expr& input_scale,
shifted_int32_t = Add(Cast(output_zero_point, DataType::Int(32)), scaled_int32_t);
}

// 4) Clip to the out_dtype min/max. Skip clipping if out_dtype is Int32. The fixed point
// multiplication keeps the value in int32 range.
if (out_dtype == DataType::Int(32)) {
// 4) Clip to the out_dtype min/max. Skip clipping if out_dtype is Int32. The fixed point
// multiplication keeps the value in int32 range.
if (out_dtype == DataType::Int(32)) {
return shifted_int32_t;
}

Expand Down

0 comments on commit 8535134

Please sign in to comment.