LLVM 22.0.0git
llvm::ReleaseModeModelRunner< TGen > Class Template Referencefinal

#include "llvm/Analysis/ReleaseModeModelRunner.h"

Inheritance diagram for llvm::ReleaseModeModelRunner< TGen >:
[legend]

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.
virtual ~ReleaseModeModelRunner ()=default
Public Member Functions inherited from llvm::MLModelRunner
 MLModelRunner (const MLModelRunner &)=delete
MLModelRunneroperator= (const MLModelRunner &)=delete
virtual ~MLModelRunner ()=default
template<typename T>
T evaluate ()
template<typename T, typename I>
TgetTensor (I FeatureID)
template<typename T, typename I>
const TgetTensor (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
LLVMContextCtx
const Kind Type

Detailed Description

template<class TGen>
class llvm::ReleaseModeModelRunner< TGen >

Definition at line 55 of file ReleaseModeModelRunner.h.

Constructor & Destructor Documentation

◆ ReleaseModeModelRunner()

template<class TGen>
template<class FType>
llvm::ReleaseModeModelRunner< TGen >::ReleaseModeModelRunner ( LLVMContext & Ctx,
const FType & InputSpec,
StringRef DecisionName,
const EmbeddedModelRunnerOptions & Options = {} )
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.

◆ ~ReleaseModeModelRunner()

template<class TGen>
virtual llvm::ReleaseModeModelRunner< TGen >::~ReleaseModeModelRunner ( )
virtualdefault

Member Function Documentation

◆ classof()

template<class TGen>
bool llvm::ReleaseModeModelRunner< TGen >::classof ( const MLModelRunner * R)
inlinestatic

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