|
| Session (Env &env, std::basic_string< ORTCHAR_T > &model_path, SessionOptions &options) |
|
| Session (Env &env, void *model_data, size_t model_data_length, SessionOptions &options) |
|
std::vector< Ort::Value > | Run (const std::vector< std::string > &input_names, const std::vector< Ort::Value > &input_values, const std::vector< std::string > &output_names, const RunOptions &run_options=RunOptions()) |
|
void | Run (const std::vector< std::string > &input_names, const std::vector< Ort::Value > &input_values, const std::vector< std::string > &output_names, std::vector< Ort::Value > &output_values, const RunOptions &run_options=RunOptions()) |
|
std::vector< std::string > | GetInputNames () const |
|
std::vector< std::string > | GetOutputNames () const |
|
std::vector< std::string > | GetOverridableInitializerNames () const |
|
std::vector< std::vector
< int64_t > > | GetInputShapes () const |
|
std::vector< std::vector
< int64_t > > | GetOutputShapes () const |
|
std::vector< std::vector
< int64_t > > | GetOverridableInitializerShapes () const |
|
| Session (std::nullptr_t) |
| Create an empty Session object, must be assigned a valid one to be used. More...
|
|
| Session (const Env &env, const ORTCHAR_T *model_path, const SessionOptions &options) |
| Wraps OrtApi::CreateSession. More...
|
|
| Session (const Env &env, const ORTCHAR_T *model_path, const SessionOptions &options, OrtPrepackedWeightsContainer *prepacked_weights_container) |
| Wraps OrtApi::CreateSessionWithPrepackedWeightsContainer. More...
|
|
| Session (const Env &env, const void *model_data, size_t model_data_length, const SessionOptions &options) |
| Wraps OrtApi::CreateSessionFromArray. More...
|
|
| Session (const Env &env, const void *model_data, size_t model_data_length, const SessionOptions &options, OrtPrepackedWeightsContainer *prepacked_weights_container) |
| Wraps OrtApi::CreateSessionFromArrayWithPrepackedWeightsContainer. More...
|
|
ConstSession | GetConst () const |
|
UnownedSession | GetUnowned () const |
|
std::vector< Value > | Run (const RunOptions &run_options, const char *const *input_names, const Value *input_values, size_t input_count, const char *const *output_names, size_t output_count) |
| Run the model returning results in an Ort allocated vector. More...
|
|
void | Run (const RunOptions &run_options, const char *const *input_names, const Value *input_values, size_t input_count, const char *const *output_names, Value *output_values, size_t output_count) |
| Run the model returning results in user provided outputs Same as Run(const RunOptions&, const char* const*, const Value*, size_t,const char* const*, size_t) More...
|
|
void | Run (const RunOptions &run_options, const IoBinding &) |
| Wraps OrtApi::RunWithBinding. More...
|
|
void | RunAsync (const RunOptions &run_options, const char *const *input_names, const Value *input_values, size_t input_count, const char *const *output_names, Value *output_values, size_t output_count, RunAsyncCallbackFn callback, void *user_data) |
| Run the model asynchronously in a thread owned by intra op thread pool. More...
|
|
AllocatedStringPtr | EndProfilingAllocated (OrtAllocator *allocator) |
| End profiling and return a copy of the profiling file name. More...
|
|
size_t | GetInputCount () const |
| Returns the number of model inputs. More...
|
|
size_t | GetOutputCount () const |
| Returns the number of model outputs. More...
|
|
size_t | GetOverridableInitializerCount () const |
| Returns the number of inputs that have defaults that can be overridden. More...
|
|
AllocatedStringPtr | GetInputNameAllocated (size_t index, OrtAllocator *allocator) const |
| Returns a copy of input name at the specified index. More...
|
|
AllocatedStringPtr | GetOutputNameAllocated (size_t index, OrtAllocator *allocator) const |
| Returns a copy of output name at then specified index. More...
|
|
AllocatedStringPtr | GetOverridableInitializerNameAllocated (size_t index, OrtAllocator *allocator) const |
| Returns a copy of the overridable initializer name at then specified index. More...
|
|
uint64_t | GetProfilingStartTimeNs () const |
| Wraps OrtApi::SessionGetProfilingStartTimeNs. More...
|
|
ModelMetadata | GetModelMetadata () const |
| Wraps OrtApi::SessionGetModelMetadata. More...
|
|
TypeInfo | GetInputTypeInfo (size_t index) const |
| Wraps OrtApi::SessionGetInputTypeInfo. More...
|
|
TypeInfo | GetOutputTypeInfo (size_t index) const |
| Wraps OrtApi::SessionGetOutputTypeInfo. More...
|
|
TypeInfo | GetOverridableInitializerTypeInfo (size_t index) const |
| Wraps OrtApi::SessionGetOverridableInitializerTypeInfo. More...
|
|
constexpr | Base ()=default |
|
constexpr | Base (contained_type *p) noexcept |
|
| Base (const Base &)=delete |
|
| Base (Base &&v) noexcept |
|
| ~Base () |
|
Base & | operator= (const Base &)=delete |
|
Base & | operator= (Base &&v) noexcept |
|
constexpr | operator contained_type * () const noexcept |
|
contained_type * | release () |
| Relinquishes ownership of the contained C object pointer The underlying object is not destroyed. More...
|
|