MLCompilerBridge
Tools for streamlining communication with ML models for compiler optimizations.
|
The MLModelRunner class is the main interface for interacting with the ML models. More...
#include "SerDes/baseSerDes.h"
#include "SerDes/bitstreamSerDes.h"
#include "SerDes/jsonSerDes.h"
#include <cstdlib>
#include <future>
#include <memory>
#include <string>
#include <type_traits>
#include "SerDes/protobufSerDes.h"
#include "SerDes/tensorflowSerDes.h"
Go to the source code of this file.
Classes | |
class | MLBridge::MLModelRunner |
MLModelRunner - The main interface for interacting with the ML models. More... | |
Namespaces | |
namespace | MLBridge |
The MLModelRunner class is the main interface for interacting with the ML models.
The MLCompilerBridge uses the MLModelRunner class to set the features to be sent to the model and get the result back from the model.
This class internally uses the SerDes class to serialize and deserialize the features and result.
The MLModelRunner class is an abstract class and cannot be instantiated.
This class internally uses the SerDes class to serialize and deserialize the features and result.
Supporting new Model Runners:
Using any of the existing Model Runners:
Definition in file MLModelRunner.h.