Skip to content

Commit

Permalink
Enabled postponed evaluation of annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
michalpiszczek committed Sep 3, 2021
1 parent 26fdea8 commit 6a0041d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ignore_errors = True
[mypy-python.tvm.tir.schedule.*]
ignore_errors = False

[mypy-python.tvm.relay.frontend.onnx]
[mypy-python.tvm.relay.frontend.onnx.*]
ignore_missing_imports = True
ignore_errors = True

2 changes: 2 additions & 0 deletions python/tvm/relay/frontend/onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
# pylint: disable=invalid-name, import-self, len-as-condition, unused-argument, too-many-lines
# pylint: disable=import-outside-toplevel
"""ONNX: Open Neural Network Exchange frontend for Relay."""
from __future__ import __annotations__

import copy
import warnings
import typing
Expand Down

0 comments on commit 6a0041d

Please sign in to comment.