|
LLVM 22.0.0git
|
#include "llvm/Analysis/ReleaseModeModelRunner.h"
Public Member Functions | |
| template<class FType> | |
| ReleaseModeModelRunner (LLVMContext &Ctx, const FType &InputSpec, StringRef DecisionName, const EmbeddedModelRunnerOptions &Options={}) | |
| FeatureNames' type should be an indexed collection of std::string, like std::array or std::vector, that has a size() method. | |
| ~ReleaseModeModelRunner () override=default | |
| Public Member Functions inherited from llvm::MLModelRunner | |
| MLModelRunner (const MLModelRunner &)=delete | |
| MLModelRunner & | operator= (const MLModelRunner &)=delete |
| virtual | ~MLModelRunner ()=default |
| template<typename T> | |
| T | evaluate () |
| template<typename T, typename I> | |
| T * | getTensor (I FeatureID) |
| template<typename T, typename I> | |
| const T * | getTensor (I FeatureID) const |
| void * | getTensorUntyped (size_t Index) |
| const void * | getTensorUntyped (size_t Index) const |
| Kind | getKind () const |
| virtual void | switchContext (StringRef Name) |
Static Public Member Functions | |
| static bool | classof (const MLModelRunner *R) |
Additional Inherited Members | |
| Public Types inherited from llvm::MLModelRunner | |
| enum class | Kind : int { Unknown , Release , Development , NoOp , Interactive } |
| Protected Member Functions inherited from llvm::MLModelRunner | |
| MLModelRunner (LLVMContext &Ctx, Kind Type, size_t NumInputs) | |
| void | setUpBufferForTensor (size_t Index, const TensorSpec &Spec, void *Buffer) |
| Protected Attributes inherited from llvm::MLModelRunner | |
| LLVMContext & | Ctx |
| const Kind | Type |
Definition at line 55 of file ReleaseModeModelRunner.h.
|
inline |
FeatureNames' type should be an indexed collection of std::string, like std::array or std::vector, that has a size() method.
Definition at line 60 of file ReleaseModeModelRunner.h.
References llvm::MLModelRunner::Ctx, llvm::DecisionName, and Options.
|
overridedefault |
|
inlinestatic |
Definition at line 111 of file ReleaseModeModelRunner.h.
References llvm::MLModelRunner::MLModelRunner(), and llvm::MLModelRunner::Release.