Update _utils.py
This commit is contained in:
parent
cde73c424c
commit
2bce754b23
1 changed files with 1 additions and 1 deletions
|
|
@ -1192,7 +1192,7 @@ for j, function in enumerate(functions):
|
|||
try: exec(f"EMPTY_LOGITS.{function} = warn_logits_error", globals(), locals())
|
||||
except: continue
|
||||
else:
|
||||
exec(f"def raise_{j}(*args, **kwargs): print('{function}'')", globals(), locals())
|
||||
exec(f"def raise_{j}(*args, **kwargs): print('{function}')", globals(), locals())
|
||||
try: exec(f"EMPTY_LOGITS.{function} = raise_{j}", globals(), locals())
|
||||
except: continue
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue