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
Hi everyone, is there a way for us to create a dynamic name of our function under @script decorator? Or at the very least, how do we remove the function that was called once under @script. Currently, I kept bumping into the weird message "function_name: Already defined" if I execute it once under @script.
Example.
from onnxscript import script
@script()
def function_name([arguments list):
do something
The text was updated successfully, but these errors were encountered:
Hi everyone, is there a way for us to create a dynamic name of our function under @script decorator? Or at the very least, how do we remove the function that was called once under @script. Currently, I kept bumping into the weird message "function_name: Already defined" if I execute it once under @script.
Example.
The text was updated successfully, but these errors were encountered: