MLCompilerBridge
Tools for streamlining communication with ML models for compiler optimizations.
|
ONNXModelRunner class supporting communication via ONNX C++ Runtime. More...
#include "MLModelRunner/MLModelRunner.h"
#include "MLModelRunner/ONNXModelRunner/agent.h"
#include "MLModelRunner/ONNXModelRunner/environment.h"
Go to the source code of this file.
Classes | |
class | MLBridge::ONNXModelRunner |
ONNXModelRunner is the main user facing class that interfaces with the Environment and Agent classes to support ML/RL model inference via ONNXModel. More... | |
Namespaces | |
namespace | MLBridge |
ONNXModelRunner class supporting communication via ONNX C++ Runtime.
Only inference is supported.
This class interfaces with Environment and Agent classes to support ML/RL model inference via ONNXModel.
Usage:
Internally the ONNXModelRunner object will call the step() method of the environment to get the next observation and the computeAction() method of the agent to get the action corresponding to the observation.
Definition in file ONNXModelRunner.h.