MLModelRunner that evaluates an EmitC‐compiled ML model.
Synopsis
Declared in <llvm/Analysis/EmitCModelRunner.h>
template<class TGen>
class EmitCModelRunner final
: public MLModelRunner
Description
Wraps a compile‐time EmitC model (TGen) for inference.
Base Classes
Name |
Description |
Interface for evaluating an ML model given tensors as arguments. |
Enums
Name |
Description |
Kind of concrete MLModelRunner implementation. |
Member Functions
Name |
Description |
|
Construct a runner over an EmitC‐compiled model. |
|
Destroy this EmitCModelRunner. |
|
Deleted copy assignment; MLModelRunner is not assignable. |
Evaluate the model and return the result cast to type |
|
Return the concrete runner kind of this instance. |
|
|
|
|
|
|
Switch the evaluation context to the named context |
Static Member Functions
Name |
Description |
Return true if |
Protected Member Functions
Name |
Description |
|
Run the EmitC‐compiled model and return a pointer to the result. |
Bind input buffer |