Skip to content

Commit

Permalink
linter fixup
Browse files Browse the repository at this point in the history
Change-Id: Ie3dba845f64db1c3dfb891deb721859cd18e1042
  • Loading branch information
ppiskorski committed Jun 5, 2023
1 parent 4c474c5 commit 2831579
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torch/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def _cuda(self, device=None, non_blocking=False, **kwargs):
untyped_storage.copy_(self, non_blocking)
return untyped_storage


def _get_async_or_non_blocking(function_name, non_blocking, kwargs):
"""Return the non-blocking flag given the function name and kwargs.
Expand Down

0 comments on commit 2831579

Please sign in to comment.