Closed chhzh123 closed 2 years ago
hcl.return() has been added previously in a non-function context, but the implementation is incorrect. Thus, we need to reimplement it after we have hcl.def_() op.
hcl.return()
hcl.def_()
Added in 53f9af7b2454824e4ce9f077b5bd9c104de0d0a5.
Should also support hcl.return_() in imperative programs, especially for the programs with if-else structure.
hcl.return_()
hcl.return()
has been added previously in a non-function context, but the implementation is incorrect. Thus, we need to reimplement it after we havehcl.def_()
op.