Menoh
Public Member Functions | List of all members
menoh::model Class Reference

The main component to run inference. More...

#include <menoh.hpp>

Public Member Functions

 model (menoh_model_handle h)
 
variable get_variable (std::string const &name) const
 Accsessor to internal variable. More...
 
void run ()
 Run model inference. More...
 

Detailed Description

The main component to run inference.

Constructor & Destructor Documentation

◆ model()

menoh::model::model ( menoh_model_handle  h)
inlineexplicit
Note
Normally users needn't call this constructer. Use model_builder::build_model() instead.

Member Function Documentation

◆ get_variable()

variable menoh::model::get_variable ( std::string const &  name) const
inline

Accsessor to internal variable.

See also
variable

◆ run()

void menoh::model::run ( )
inline

Run model inference.

Warning
Do not call this function asynchronously.

The documentation for this class was generated from the following file: