mirror of
https://github.com/ROCm/jax.git
synced 2025-04-19 05:16:06 +00:00
Remove unused return wrapper
in annotate_function that creates a self reference cycle loop in python.
PiperOrigin-RevId: 745099538
This commit is contained in:
parent
5f33280ded
commit
73ecf0bb48
@ -332,7 +332,6 @@ def annotate_function(func: Callable, name: str | None = None,
|
||||
def wrapper(*args, **kwargs):
|
||||
with TraceAnnotation(name, **decorator_kwargs):
|
||||
return func(*args, **kwargs)
|
||||
return wrapper
|
||||
return wrapper
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user