PyTorch torch.compiled_with_cxx11_abi function
PyTorch torch reference manual
torch.compiled_with_cxx11_abi is a function in PyTorch used to check compilation options. It returns whether PyTorch was compiled with the C++11 ABI.
Function definition
torch.compiled_with_cxx11_abi()
Usage examples
Example
import
torch
Check PyTorch compilation options
is_cxx11
=
torch.
compiled_with_cxx11_abi
(
)
(
f
"Compiled with C++11 ABI: {is_cxx11}"
)