decode_gif.h 249 Bytes
Newer Older
Nicolas Hug's avatar
Nicolas Hug committed
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include <torch/types.h>

namespace vision {
namespace image {

// encoded_data tensor must be 1D uint8 and contiguous
C10_EXPORT torch::Tensor decode_gif(const torch::Tensor& encoded_data);

} // namespace image
} // namespace vision