Skip to content

Commit

Permalink
Factor out import of common tflite.Operator in tflite frontend. (#5355)
Browse files Browse the repository at this point in the history
* 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 Apr 22, 2020
1 parent 24f6865 commit 3e3ccce
Showing 1 changed file with 5 additions and 151 deletions.
Loading

0 comments on commit 3e3ccce

Please sign in to comment.