|
MLCompilerBridge
Tools for streamlining communication with ML models for compiler optimizations.
|
This file defines the C APIs for PipeModelRunner. More...
#include "MLModelRunner/C/PipeModelRunner.h"#include "MLModelRunner/MLModelRunner.h"#include "MLModelRunner/PipeModelRunner.h"#include <vector>
Go to the source code of this file.
Classes | |
| struct | PipeModelRunnerWrapper |
Functions | |
| PipeModelRunnerWrapper * | createPipeModelRunner (const char *OutboundName, const char *InboundName, int SerDesType) |
| Creates an instance of PipeModelRunnerWrapper. | |
| void | populateFloatFeatures (PipeModelRunnerWrapper *obj, const char *name, const float *data, const int size) |
| Populates the features of PipeModelRunnerWrapper. | |
| void | populateIntFeatures (PipeModelRunnerWrapper *obj, const char *name, const int *data, const int size) |
| int | evaluateIntFeatures (PipeModelRunnerWrapper *obj) |
| Evaluates the features of PipeModelRunnerWrapper. | |
| float | evaluateFloatFeatures (PipeModelRunnerWrapper *obj) |
| void | destroyPipeModelRunner (PipeModelRunnerWrapper *obj) |
| Destroys an instance of PipeModelRunnerWrapper. | |
This file defines the C APIs for PipeModelRunner.
Definition in file PipeModelRunnerCWrapper.cpp.
| PipeModelRunnerWrapper * createPipeModelRunner | ( | const char * | OutboundName, |
| const char * | InboundName, | ||
| int | SerDesType ) |
Creates an instance of PipeModelRunnerWrapper.
Definition at line 26 of file PipeModelRunnerCWrapper.cpp.
| void destroyPipeModelRunner | ( | PipeModelRunnerWrapper * | obj | ) |
Destroys an instance of PipeModelRunnerWrapper.
Definition at line 57 of file PipeModelRunnerCWrapper.cpp.
| float evaluateFloatFeatures | ( | PipeModelRunnerWrapper * | obj | ) |
Definition at line 53 of file PipeModelRunnerCWrapper.cpp.
| int evaluateIntFeatures | ( | PipeModelRunnerWrapper * | obj | ) |
Evaluates the features of PipeModelRunnerWrapper.
Definition at line 49 of file PipeModelRunnerCWrapper.cpp.
| void populateFloatFeatures | ( | PipeModelRunnerWrapper * | obj, |
| const char * | name, | ||
| const float * | data, | ||
| const int | size ) |
Populates the features of PipeModelRunnerWrapper.
Definition at line 35 of file PipeModelRunnerCWrapper.cpp.
| void populateIntFeatures | ( | PipeModelRunnerWrapper * | obj, |
| const char * | name, | ||
| const int * | data, | ||
| const int | size ) |
Definition at line 42 of file PipeModelRunnerCWrapper.cpp.