We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6e0c35 commit 7b3ec36Copy full SHA for 7b3ec36
tripy/nvtripy/frontend/ops/_registry.py
@@ -16,7 +16,6 @@
16
#
17
18
from typing import Any, Callable
19
-from functools import wraps
20
21
# We use the tensor method registry to define methods on the `Tensor` class out of line.
22
# This lets the method live alongside the trace operation and makes it a bit more modular
tripy/nvtripy/utils/ast.py
@@ -123,6 +123,7 @@ def get_arg_candidate_column_offsets(
123
arg_node = node.keywords[index - num_positional]
124
else:
125
# Detect method calls by examining AST structure
126
+ # For methods, the `self` argument is omitted from ast.Call.args
127
is_method_call = isinstance(node.func, ast.Attribute)
128
if is_method_call:
129
index -= 1
0 commit comments