Commit 4f24d8de authored by alex_xiao's avatar alex_xiao Committed by LeiWang1999
Browse files

Update lower.py to set default value for params (#416)

parent 5ddde621
...@@ -206,6 +206,7 @@ def lower( ...@@ -206,6 +206,7 @@ def lower(
''' '''
mod = func_or_mod mod = func_or_mod
params = None
if isinstance(func_or_mod, tir.PrimFunc): if isinstance(func_or_mod, tir.PrimFunc):
func = func_or_mod func = func_or_mod
params = extrac_params(func) if not runtime_only else None params = extrac_params(func) if not runtime_only else None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment