Skip to content

Commit

Permalink
Sync from tflite-micro at 0c46d6e.
Browse files Browse the repository at this point in the history
Signed-off-by: CFU-Playground-Bot <cfu-playground-bot@google.com>
  • Loading branch information
cfu-playground-bot committed Sep 7, 2022
1 parent 52cedbb commit eee39bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conf/tflite-micro.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
79f6def
0c46d6e
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ void PortableCwiseMul(const int16_t* input_1, const int16_t* input_2,
const int16_t b = input_2[index];
int32_t value = static_cast<int32_t>(a) * static_cast<int32_t>(b);
value = MultiplyByQuantizedMultiplier(value, multiplier, shift);
value -= output_zp;
value += output_zp;
value = std::min(std::max(static_cast<int32_t>(-128), value),
static_cast<int32_t>(127));

Expand Down

0 comments on commit eee39bc

Please sign in to comment.