Skip to content

Commit a83f4fa

Browse files
generatedunixname89002005287564facebook-github-bot
authored andcommitted
[Codemod][CppQualityCommon] Fix CQS signal facebook-unused-include-check in fbcode/pytorch/vision/torchvision/csrc/io/image/cuda
Reviewed By: dtolnay Differential Revision: D75279945 fbshipit-source-id: 4685071b4be5482c1b03582885b61404a1ad52dd
1 parent 333d0ef commit a83f4fa

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

torchvision/csrc/io/image/cuda/decode_jpegs_cuda.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ std::vector<torch::Tensor> decode_jpegs_cuda(
1313
} // namespace vision
1414

1515
#else
16-
#include <ATen/ATen.h>
1716
#include <ATen/cuda/CUDAContext.h>
1817
#include <ATen/cuda/CUDAEvent.h>
1918
#include <c10/cuda/CUDAGuard.h>

torchvision/csrc/io/image/cuda/encode_jpegs_cuda.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ std::vector<torch::Tensor> encode_jpegs_cuda(
1212
} // namespace vision
1313
#else
1414

15-
#include <ATen/ATen.h>
1615
#include <ATen/cuda/CUDAContext.h>
1716
#include <ATen/cuda/CUDAEvent.h>
18-
#include <cuda_runtime.h>
19-
#include <torch/nn/functional.h>
2017
#include <iostream>
2118
#include <memory>
2219
#include <string>

0 commit comments

Comments
 (0)