LLVM: llvm::EmbeddedModelRunnerOptions Struct Reference (original) (raw)

ReleaseModeModelRunner - production mode implementation of the MLModelRunner. More...

#include "[llvm/Analysis/ReleaseModeModelRunner.h](ReleaseModeModelRunner%5F8h%5Fsource.html)"

Public Attributes
StringRef FeedPrefix = "feed_"
Feed and Fetch feature prefixes - i.e.
StringRef FetchPrefix = "fetch_"
StringRef ModelSelector = ""
ModelSelector is the name (recognized by the AOT-ed model) of a sub-model to use.

ReleaseModeModelRunner - production mode implementation of the MLModelRunner.

It uses an AOT-compiled SavedModel for efficient execution.

Definition at line 29 of file ReleaseModeModelRunner.h.

setFeedPrefix()

setFetchPrefix()

setModelSelector()

FeedPrefix

StringRef llvm::EmbeddedModelRunnerOptions::FeedPrefix = "feed_"

Feed and Fetch feature prefixes - i.e.

a feature named "foo" will be looked up as {FeedPrefix}_foo; and the output named "bar" will be looked up as {FetchPrefix}_bar

Definition at line 33 of file ReleaseModeModelRunner.h.

Referenced by setFeedPrefix().

FetchPrefix

StringRef llvm::EmbeddedModelRunnerOptions::FetchPrefix = "fetch_"

ModelSelector

StringRef llvm::EmbeddedModelRunnerOptions::ModelSelector = ""

ModelSelector is the name (recognized by the AOT-ed model) of a sub-model to use.

"" is allowed if the model doesn't support sub-models.

Definition at line 38 of file ReleaseModeModelRunner.h.

Referenced by setModelSelector().


The documentation for this struct was generated from the following file: