-
Notifications
You must be signed in to change notification settings - Fork 1
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
bad code1 #3
base: main
Are you sure you want to change the base?
bad code1 #3
Conversation
Signed-off-by: Lei Wen <[email protected]>
PR Analysis
PR Feedback
|
@@ -35,6 +35,9 @@ def has_cutlass(): | |||
"""Returns true if the CUTLASS custom codegen is available""" | |||
return tvm.get_global_func("relay.ext.cutlass.create_c_source_module", True) is not None | |||
|
|||
def ddd(): |
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.
Rename the function ddd
to something more descriptive, such as print_aaa
. [important]
@@ -35,6 +35,9 @@ def has_cutlass(): | |||
"""Returns true if the CUTLASS custom codegen is available""" | |||
return tvm.get_global_func("relay.ext.cutlass.create_c_source_module", True) is not None | |||
|
|||
def ddd(): |
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.
Add a docstring to the function ddd
to describe its purpose and usage. [medium]
Preparing review... |
PR Analysis
PR Feedback
|
@@ -35,6 +35,9 @@ def has_cutlass(): | |||
"""Returns true if the CUTLASS custom codegen is available""" | |||
return tvm.get_global_func("relay.ext.cutlass.create_c_source_module", True) is not None | |||
|
|||
def ddd(): |
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.
The function 'ddd' is not used anywhere in the code. It should be removed. [important]
@@ -35,6 +35,9 @@ def has_cutlass(): | |||
"""Returns true if the CUTLASS custom codegen is available""" | |||
return tvm.get_global_func("relay.ext.cutlass.create_c_source_module", True) is not None | |||
|
|||
def ddd(): |
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.
The function 'ddd' is not used anywhere in the code. It should be removed. [important]
Preparing review... |
8 similar comments
Preparing review... |
Preparing review... |
Preparing review... |
Preparing review... |
Preparing review... |
Preparing review... |
Preparing review... |
Preparing review... |
PR Analysis
PR Feedback
|
No description provided.