xref: /aosp_15_r20/external/pytorch/torch/csrc/api/include/torch/version.h.in (revision da0073e96a02ea20f0ac840b70461e3646d07c45)
1#pragma once
2
3/// Indicates the major version of LibTorch.
4#define TORCH_VERSION_MAJOR @TORCH_VERSION_MAJOR@
5
6/// Indicates the minor version of LibTorch.
7#define TORCH_VERSION_MINOR @TORCH_VERSION_MINOR@
8
9/// Indicates the patch version of LibTorch.
10#define TORCH_VERSION_PATCH @TORCH_VERSION_PATCH@
11
12/// Indicates the version of LibTorch.
13#define TORCH_VERSION \
14  "@TORCH_VERSION_MAJOR@.@TORCH_VERSION_MINOR@.@TORCH_VERSION_PATCH@"
15