Skip to content

Commit

Permalink
fix a minor bug in my previous merge
Browse files Browse the repository at this point in the history
  • Loading branch information
guoyu-wang committed Jan 31, 2022
1 parent 1b9e628 commit 3ab3d5b
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1198,8 +1198,6 @@ int UnaryOpSupportChecker::GetMinSupportedOpSet(const NodeUnit& node_unit) const
if (!HasValidQuantizationZeroPoints(initializers, node_unit, {0}, false /* is_input */))
return false;

return false;

// NNAPI requires the scale be 1.f/256 and zero point to be 0
// See https://android.googlesource.com/platform/frameworks/ml/+/refs/heads/android10-c2f2-release/nn/common/operations/Activation.cpp#180
float output_scale = 0.0f;
Expand Down

0 comments on commit 3ab3d5b

Please sign in to comment.