Skip to content

Commit

Permalink
tvmc: solve a linting error on onnx command line driver frontend (apa…
Browse files Browse the repository at this point in the history
…che#6536)

* Updates onnx load function from "load" (a compatibility attribute)
   to "load_model" (the actual function)

 * Add a pylint command, that we don't see currently on upstream CI,
   but it reproduces when linting it locally.
  • Loading branch information
leandron authored and Tushar Dey committed Oct 15, 2020
1 parent d03a809 commit b62965d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/tvm/driver/tvmc/frontends.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ def load(self, path):
# pylint: disable=C0415
import onnx

# pylint: disable=E1101
model = onnx.load(path)

# pylint: disable=E1101
Expand Down

0 comments on commit b62965d

Please sign in to comment.