You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// This entire structure is deprecated, but we not marking
/// it as a whole yet since we want to preserve for the next release.
/// </summary>
struct CustomOpApi {
CustomOpApi(const OrtApi& api) : api_(api) {}
/** \deprecated use Ort::Value::GetTensorTypeAndShape()
* [[deprecated]]
* This interface produces a pointer that must be released. Not exception safe.
*/
[[deprecated("use Ort::Value::GetTensorTypeAndShape()")]] OrtTensorTypeAndShapeInfo* GetTensorTypeAndShape(_In_ const OrtValue* value);```
### Additional context
_No response_
The text was updated successfully, but these errors were encountered:
@user41pp hi, thanks for your info. Currently we have no plan to upgrade onnxruntime due to the resources. Welcome to PR us if you have time. Thanks in advance.
Motivation
Certain parts of the MMDeploy SDK currently rely on
Ort::CustomOpApi
(e.g. ort_utils.h). This struct was available up to onnxruntime version 1.15.1 but was removed in 1.16.0. See onnxruntime_cxx_api.h v1.15.1 and compare to onnxruntime_cxx_api.h v1.16.0.Related resources
Snippet from onnxruntime_cxx_api.h v1.15.1:
The text was updated successfully, but these errors were encountered: