Mock TGen stub for ReleaseModeModelRunner when no AOT model is available.
Declared in <llvm/Analysis/ReleaseModeModelRunner.h>
class NoopSavedModelImpl final
Satisfies the interface expected by ReleaseModeModelRunner for its TGen parameter. Useful to avoid conditional compilation complexity, as a compile-time replacement for a real AOT-ed model.
| Name | Description |
|---|---|
NoopSavedModelImpl [constructor] | Construct a no-op saved-model stub. |
LookupArgIndex | Look up the index of an input argument by name. |
LookupResultIndex | Look up the index of a result tensor by name. |
Run | Run inference on the stub model. |
arg_data | Return a pointer to the buffer for argument tensor Index. |
result_data | Return a pointer to the buffer for result tensor Index. |