readpng_cpu.h 110 Bytes
Newer Older
1
2
3
4
5
6
#pragma once

#include <torch/torch.h>
#include <string>

torch::Tensor decodePNG(const torch::Tensor& data);