Unverified Commit 8c281757 authored by Vasilis Vryniotis's avatar Vasilis Vryniotis Committed by GitHub
Browse files

Remove hardcoded PNG_FOUND define. (#3020)

parent b18a4757
......@@ -4,7 +4,6 @@
#include <ATen/ATen.h>
#include <string>
#define PNG_FOUND 1
#if !PNG_FOUND
torch::Tensor decodePNG(const torch::Tensor& data, int64_t channels) {
TORCH_CHECK(false, "decodePNG: torchvision not compiled with libPNG support");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment