Skip to content

Fix: [RELAX][FRONTEND][Resolved from_onnx import issue #18008] #18009

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
default_language_version:
python: python3.6
fail_fast: True
default_stages: [push]
default_stages: [pre-push]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
Expand All @@ -43,9 +43,9 @@ repos:
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
stages: [push]
stages: [pre-push]
- id: trailing-whitespace
stages: [push]
stages: [pre-push]
- repo: local
hooks:
- id: run-black
Expand Down
7 changes: 7 additions & 0 deletions python/tvm/relax/frontend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,12 @@
# specific language governing permissions and limitations
# under the License.
"""Frontends for constructing Relax programs, with the model importers"""

from . import nn
<<<<<<< HEAD
from . common import detach_params
from . import onnx
=======
#from . import onnx
from .common import detach_params
>>>>>>> parent of 18b9170d6 (commented-lint)