Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Jan 18, 2024
1 parent be802e9 commit 25e87d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensordict/nn/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def __init__(self, mode):
self.mode = mode

def __call__(self, func):
@wraps(func)
@functools.wraps(func)
def new_func(*args, **kwargs):
with self:
return func(*args, **kwargs)
Expand Down

0 comments on commit 25e87d3

Please sign in to comment.