Experimental C++ API update

Merged
ED
4mo ago
+232-107

Description

  • Split out C++ code into separate C++ experimental header onnxruntime_experimental_cxx_api.h. This can also contain other auxiliary experimental API-related C++ code.
  • Add throwing C++ experimental function accessors. The Get_X_FnOrThrow() variant throws an exception if the experimental API is unavailable in the build.

Motivation and Context

Improve experimental API ergonomics for C++.