Skip to content

Commit

Permalink
Put back disable_beta_transforms_warning and make it a noop (#7897)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug committed Aug 29, 2023
1 parent ec881a0 commit e928537
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions torchvision/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,9 @@ def get_video_backend():

def _is_tracing():
return torch._C._get_tracing_state()


def disable_beta_transforms_warning():
# Noop, only exists to avoid breaking existing code.
# See https://github.com/pytorch/vision/issues/7896
pass

0 comments on commit e928537

Please sign in to comment.