You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "test_builder.py", line 556, in <module>
non_tensor_args()
File "test_builder.py", line 545, in non_tensor_args
s = allo.customize(kernel)
File "/work/shared/users/phd/nz264/allo/allo/customize.py", line 826, in customize
use_def_chain.visit(tree)
File "/home/nz264/anaconda3/envs/mlir/lib/python3.8/ast.py", line 371, in visit
return visitor(node)
File "/work/shared/users/phd/nz264/allo/allo/ir/use_def.py", line 282, in visit_Module
res.append(self.visit(stmt))
File "/home/nz264/anaconda3/envs/mlir/lib/python3.8/ast.py", line 371, in visit
return visitor(node)
File "/work/shared/users/phd/nz264/allo/allo/ir/use_def.py", line 270, in visit_FunctionDef
res.append(self.visit(stmt))
File "/home/nz264/anaconda3/envs/mlir/lib/python3.8/ast.py", line 371, in visit
return visitor(node)
File "/work/shared/users/phd/nz264/allo/allo/ir/use_def.py", line 137, in visit_For
res.append(self.visit(stmt))
File "/home/nz264/anaconda3/envs/mlir/lib/python3.8/ast.py", line 371, in visit
return visitor(node)
File "/work/shared/users/phd/nz264/allo/allo/ir/use_def.py", line 212, in visit_Assign
name = get_name(node.targets[0])
File "/work/shared/users/phd/nz264/allo/allo/ir/use_def.py", line 210, in get_name
return get_name(subnode.value)
AttributeError: 'Tuple' object has no attribute 'value'
The text was updated successfully, but these errors were encountered:
Describe the bug
Issue with use-def analysis for functions with multiple return values.
To Reproduce
Buggy output
The text was updated successfully, but these errors were encountered: