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
IR playground #5644
base: main
Are you sure you want to change the base?
IR playground #5644
Conversation
onnx/ir/_attributes.py
Outdated
|
||
name: str | ||
type: AttributeType | ||
value: Any |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will not work for C++, but it would be nice in Python
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lintrunner found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.
def __init__( | ||
self, | ||
name: str, | ||
value: _protocols.GraphProtocol, |
Check failure
Code scanning / lintrunner
MYPY/name-defined Error
def __init__( | ||
self, | ||
name: str, | ||
value: Sequence[_protocols.GraphProtocol], |
Check failure
Code scanning / lintrunner
MYPY/name-defined Error
@@ -0,0 +1,109 @@ | |||
"""Protocols derived from onnx/onnx.proto3""" |
Check warning
Code scanning / lintrunner
BLACK-ISORT/format Warning
@@ -0,0 +1,57 @@ | |||
import enum |
Check warning
Code scanning / lintrunner
BLACK-ISORT/format Warning
@@ -0,0 +1,248 @@ | |||
from __future__ import annotations |
Check warning
Code scanning / lintrunner
BLACK-ISORT/format Warning
Description
Motivation and Context