Skip to content

Commit

Permalink
Factor out import of common tflite.Operator in tflite frontend. (apac…
Browse files Browse the repository at this point in the history
…he#5355)

* Restructure imports in tflite frontend.

These python modules are needed for every tflite file parsed.
Factorize out imports of the common most ones.

Now that the import of operator is common, asserts can be commonized.

Loses 473 lines of duplication.

* Only restrict to tflite.Operator
  • Loading branch information
Ramana Radhakrishnan authored and trevor-m committed Jun 18, 2020
1 parent f3465d1 commit 296c697
Showing 1 changed file with 5 additions and 151 deletions.
Loading

0 comments on commit 296c697

Please sign in to comment.