From 9cfeae817a1af13c53fec4e524c905132ce23c55 Mon Sep 17 00:00:00 2001 From: Hahn Anselm Date: Mon, 4 May 2020 19:35:41 +0200 Subject: [PATCH] Rearange the return --- tensorflow/lite/python/op_hint.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tensorflow/lite/python/op_hint.py b/tensorflow/lite/python/op_hint.py index c7f49bdf4b6..159fcaa2bf3 100644 --- a/tensorflow/lite/python/op_hint.py +++ b/tensorflow/lite/python/op_hint.py @@ -1166,8 +1166,7 @@ def _get_correct_mapping(original_index, nodes): node_indices = nodes.keys() node_indices = sorted(node_indices) return node_indices[-1] - else: - return original_index + return original_index def _convert_op_hints_to_stubs_helper(