From 79df8e23207b8264b80c64d332200b5d60f0170c Mon Sep 17 00:00:00 2001 From: Nicholas Ormrod Date: Wed, 19 Feb 2025 09:50:20 -0800 Subject: [PATCH] [codemod] facebook-unused-include-check in fbcode/pytorch Summary: Remove headers flagged by facebook-unused-include-check over fbcode.pytorch. + format and autodeps This is a codemod. It was automatically generated and will be landed once it is approved and tests are passing in sandcastle. You have been added as a reviewer by Sentinel or Butterfly. Autodiff project: uip Autodiff partition: fbcode.pytorch Autodiff bookmark: ad.uip.fbcode.pytorch Reviewed By: dtolnay Differential Revision: D69621180 --- torchvision/csrc/io/decoder/stream.cpp | 1 - torchvision/csrc/io/decoder/subtitle_stream.cpp | 1 - torchvision/csrc/io/decoder/util_test.cpp | 1 - torchvision/csrc/io/image/common.cpp | 1 - 4 files changed, 4 deletions(-) diff --git a/torchvision/csrc/io/decoder/stream.cpp b/torchvision/csrc/io/decoder/stream.cpp index 8c914050587..7969741e72c 100644 --- a/torchvision/csrc/io/decoder/stream.cpp +++ b/torchvision/csrc/io/decoder/stream.cpp @@ -1,6 +1,5 @@ #include "stream.h" #include -#include #include #include "util.h" diff --git a/torchvision/csrc/io/decoder/subtitle_stream.cpp b/torchvision/csrc/io/decoder/subtitle_stream.cpp index 27c61d4dbd9..3416f702d7e 100644 --- a/torchvision/csrc/io/decoder/subtitle_stream.cpp +++ b/torchvision/csrc/io/decoder/subtitle_stream.cpp @@ -1,6 +1,5 @@ #include "subtitle_stream.h" #include -#include #include "util.h" namespace ffmpeg { diff --git a/torchvision/csrc/io/decoder/util_test.cpp b/torchvision/csrc/io/decoder/util_test.cpp index 78de08b7139..0a093d9561b 100644 --- a/torchvision/csrc/io/decoder/util_test.cpp +++ b/torchvision/csrc/io/decoder/util_test.cpp @@ -1,5 +1,4 @@ #include -#include #include #include "util.h" diff --git a/torchvision/csrc/io/image/common.cpp b/torchvision/csrc/io/image/common.cpp index 16b7ac2f91e..b71ab019f5d 100644 --- a/torchvision/csrc/io/image/common.cpp +++ b/torchvision/csrc/io/image/common.cpp @@ -1,6 +1,5 @@ #include "common.h" -#include namespace vision { namespace image {