This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[style] | |
# Align closing bracket with visual indentation. | |
align_closing_bracket_with_visual_indent=True | |
# Allow dictionary keys to exist on multiple lines. For example: | |
# | |
# x = { | |
# ('this is the first element of a tuple', | |
# 'this is the second element of a tuple'): | |
# value, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tvm | |
from tvm import relay | |
from tvm.relay.dataflow_pattern import * | |
#class ExtractArgs(tvm.relay.ExprMutator): | |
# # Mutate the graph to replace the matched graph input with new vars. | |
# def __init__(self, mapped_vars): | |
# super(ExtractArgs, self).__init__() | |
# self.mapped_vars = set(mapped_vars) | |
# self.vars = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"python.pythonPath": "/usr/bin/python3", | |
"python.linting.mypyEnabled": true, | |
"python.linting.pylintEnabled": true, | |
"python.linting.pylintCategorySeverity.convention": "Warning", | |
"python.linting.pylintCategorySeverity.refactor": "Warning", | |
"python.linting.pylintCategorySeverity.warning": "Warning", | |
"python.linting.pylintArgs": [ | |
"--rcfile", | |
"${workspaceRoot}/tests/lint/pylintrc" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"python.pythonPath": "/usr/local/bin/python3", | |
"python.testing.nosetestArgs": [ | |
"tests" | |
], | |
"python.testing.pytestEnabled": false, | |
"python.testing.unittestEnabled": false, | |
"python.testing.nosetestsEnabled": false, | |
"python.testing.promptToConfigure": false, | |
"python.linting.pylintEnabled": true, |
NewerOlder