onnxruntime/objectivec/src/ort_session_internal.h
Edward Chen 19704aedbb
Update Objective-C API (#7675)
- Add session/run configuration
- Add additional supported tensor data types
- Clean up
2021-05-13 18:47:22 -07:00

22 lines
382 B
Objective-C

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#import "ort_session.h"
#include "core/session/onnxruntime_cxx_api.h"
NS_ASSUME_NONNULL_BEGIN
@interface ORTSessionOptions ()
- (Ort::SessionOptions&)CXXAPIOrtSessionOptions;
@end
@interface ORTRunOptions ()
- (Ort::RunOptions&)CXXAPIOrtRunOptions;
@end
NS_ASSUME_NONNULL_END