writejpeg_impl.h 121 Bytes
Newer Older
1
2
#pragma once

3
#include <torch/types.h>
4
5

C10_EXPORT torch::Tensor encodeJPEG(const torch::Tensor& data, int64_t quality);