LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::ReleaseModeModelRunner< TGen > Class Template Referencefinal

#include "llvm/Analysis/ReleaseModeModelRunner.h"

Inheritance diagram for llvm::ReleaseModeModelRunner< TGen >:
Inheritance graph
[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 NrInputs)
 
virtual void * evaluateUntyped ()=0
 
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.

◆ ~ReleaseModeModelRunner()

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

Member Function Documentation

◆ classof()

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

Definition at line 111 of file ReleaseModeModelRunner.h.

References llvm::MLModelRunner::Release.


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