Skip to content

Commit

Permalink
Renamed files (#3308)
Browse files Browse the repository at this point in the history
Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
  • Loading branch information
NicolasHug and datumbox authored Jan 27, 2021
1 parent 5b663c8 commit d8eb22d
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "read_image_cpu.h"
#include "read_image_impl.h"

#include "readjpeg_cpu.h"
#include "readpng_cpu.h"
#include "readjpeg_impl.h"
#include "readpng_impl.h"

torch::Tensor decode_image(const torch::Tensor& data, ImageReadMode mode) {
// Check that the input tensor dtype is uint8
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "read_write_file_cpu.h"
#include "read_write_file_impl.h"

#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "readjpeg_cpu.h"
#include "readjpeg_impl.h"

#if !JPEG_FOUND
torch::Tensor decodeJPEG(const torch::Tensor& data, ImageReadMode mode) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "readpng_cpu.h"
#include "readpng_impl.h"

#if !PNG_FOUND
torch::Tensor decodePNG(const torch::Tensor& data, ImageReadMode mode) {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "writejpeg_cpu.h"
#include "writejpeg_impl.h"

#if !JPEG_FOUND

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "writejpeg_cpu.h"
#include "writejpeg_impl.h"

#if !PNG_FOUND

Expand Down
12 changes: 6 additions & 6 deletions torchvision/csrc/io/image/image.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#pragma once

#include "cpu/read_image_cpu.h"
#include "cpu/read_write_file_cpu.h"
#include "cpu/readjpeg_cpu.h"
#include "cpu/readpng_cpu.h"
#include "cpu/writejpeg_cpu.h"
#include "cpu/writepng_cpu.h"
#include "cpu/read_image_impl.h"
#include "cpu/read_write_file_impl.h"
#include "cpu/readjpeg_impl.h"
#include "cpu/readpng_impl.h"
#include "cpu/writejpeg_impl.h"
#include "cpu/writepng_impl.h"

0 comments on commit d8eb22d

Please sign in to comment.