torch.compiled_with_cxx11_abi
function compiled_with_cxx11_abi(): booleanChecks if torch.js was compiled with C++11 ABI compatibility.
The C++ Standard Library has two ABI (Application Binary Interface) versions. This function indicates which ABI was used during compilation. This is relevant for C++ interoperability but not applicable to torch.js.
torch.js is a JavaScript library, not C++. This function is provided for API compatibility but has no meaningful value.
Returns
boolean– Always false in torch.js (not a C++ library)Examples
const uses_cxx11_abi = torch.compiled_with_cxx11_abi();
// torch.js: always false