23 namespace Experimental {
29 : Ort::
Session(env, model_data, model_data_length, options){};
32 std::vector<Ort::Value>
Run(
const std::vector<std::string>& input_names,
33 const std::vector<Ort::Value>& input_values,
34 const std::vector<std::string>& output_names,
36 void Run(
const std::vector<std::string>& input_names,
37 const std::vector<Ort::Value>& input_values,
38 const std::vector<std::string>& output_names,
39 std::vector<Ort::Value>& output_values,
59 static Ort::Value CreateTensor(
void* p_data,
size_t p_data_byte_count,
const std::vector<int64_t>& shape, ONNXTensorElementDataType
type);
std::vector< std::vector< int64_t > > GetInputShapes() const
std::vector< std::vector< int64_t > > GetOverridableInitializerShapes() const
Session(Env &env, void *model_data, size_t model_data_length, SessionOptions &options)
static Ort::Value CreateTensor(T *p_data, size_t p_data_element_count, const std::vector< int64_t > &shape)
std::vector< std::string > GetInputNames() const
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())
std::vector< std::string > GetOutputNames() const
std::vector< std::vector< int64_t > > GetOutputShapes() const
std::vector< std::string > GetOverridableInitializerNames() const
Session(Env &env, std::basic_string< ORTCHAR_T > &model_path, SessionOptions &options)
Wrapper around ::OrtSessionOptions.
Wrapper around ::OrtSession.