A pseudo model runner. We use it to store feature values when collecting logs for the default policy, in 'development' mode, but never ask it to 'run'.
Synopsis
Declared in <llvm/Analysis/NoInferenceModelRunner.h>
class NoInferenceModelRunner
: public MLModelRunner
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 no‐op model runner that stores feature values without running. |
|
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 model and return an untyped pointer to the result buffer. |
Bind input buffer |