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 May 19, 2023
1 parent e33c6d4 commit f3f4f9b
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 f3f4f9b

Please sign in to comment.