Caffe2 - C++ API
A deep learning, cross platform ML framework
torch.h
1 #pragma once
2 
3 #include <torch/all.h>
4 
5 #ifdef TORCH_API_INCLUDE_EXTENSION_H
6 #include <torch/extension.h>
7 #warning \
8  "Including torch/torch.h for C++ extensions is deprecated. Please include torch/extension.h"
9 #endif // defined(TORCH_API_INCLUDE_EXTENSION_H)