Skip to content

Commit

Permalink
Update python/paddle/base/dygraph/base.py
Browse files Browse the repository at this point in the history
Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
  • Loading branch information
Caogration and SigureMo authored Aug 6, 2024
1 parent 6d13b9f commit 999de44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/paddle/base/dygraph/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def _switch_tracer_mode_guard_(


@overload
def no_grad(func: None = ...) -> AbstractAsyncContextManager:
def no_grad(func: None = ...) -> AbstractContextManager:
...


Expand Down

0 comments on commit 999de44

Please sign in to comment.