llvm::NoopSavedModelImpl

Mock TGen stub for ReleaseModeModelRunner when no AOT model is available.

Synopsis

Declared in <llvm/Analysis/ReleaseModeModelRunner.h>

class NoopSavedModelImpl final

Description

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.

Member Functions

NameDescription
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.