Skip to content

Commit 0183a40

Browse files
committed
Lint
1 parent aab01c2 commit 0183a40

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

python/tvm/relax/frontend/tflite/tflite_frontend.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
# under the License.
1717
# pylint: disable=invalid-name, unused-argument, too-many-lines
1818
# pylint: disable=import-outside-toplevel, use-list-literal
19+
# pylint: disable=no-value-for-parameter, unused-variable
20+
# pylint: disable=unexpected-keyword-arg, unused-import, too-many-function-args
1921
"""Tensorflow lite frontend."""
2022
import itertools
2123
import math
@@ -317,11 +319,6 @@ def convert_op_to_relax(self):
317319
if ret is None:
318320
continue
319321

320-
output_names = ", ".join(
321-
[get_tensor_name(self.subgraph, tensor.tensor_idx) for tensor in output_tensors]
322-
)
323-
# ret = set_span(ret, f"{output_names}")
324-
325322
if len(output_tensors) == 1:
326323
tensor_idx = output_tensors[0].tensor_idx
327324
self.exp_tab.set_expr(get_tensor_name(self.subgraph, tensor_idx), ret)

0 commit comments

Comments
 (0)