Skip to content

Commit

Permalink
Fix styling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
andfoy committed Sep 22, 2020
1 parent 160a2ad commit 31f82ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion torchvision/csrc/cpu/image/jpegcommon.h
Expand Up @@ -16,7 +16,6 @@ struct torch_jpeg_error_mgr {

typedef struct torch_jpeg_error_mgr* torch_jpeg_error_ptr;


void torch_jpeg_error_exit(j_common_ptr cinfo) {
/* cinfo->err really points to a torch_jpeg_error_mgr struct, so coerce
* pointer */
Expand Down
5 changes: 4 additions & 1 deletion torchvision/csrc/cpu/image/writejpeg_cpu.h
Expand Up @@ -3,4 +3,7 @@
#include <torch/torch.h>

C10_API torch::Tensor encodeJPEG(const torch::Tensor& data, int quality);
C10_API void writeJPEG(const torch::Tensor& data, const char* filename, int quality);
C10_API void writeJPEG(
const torch::Tensor& data,
const char* filename,
int quality);

0 comments on commit 31f82ea

Please sign in to comment.