LLVM  14.0.0git
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
llvm::MLModelRunner Class Referenceabstract

MLModelRunner interface: abstraction of a mechanism for evaluating a tensorflow "saved model". More...

#include "llvm/Analysis/MLModelRunner.h"

Collaboration diagram for llvm::MLModelRunner:
Collaboration graph
[legend]

Public Member Functions

 MLModelRunner (const MLModelRunner &)=delete
 
MLModelRunneroperator= (const MLModelRunner &)=delete
 
virtual ~MLModelRunner ()=default
 
virtual bool run ()=0
 
virtual void setFeature (FeatureIndex Index, int64_t Value)=0
 
virtual int64_t getFeature (int Index) const =0
 

Protected Member Functions

 MLModelRunner (LLVMContext &Ctx)
 

Protected Attributes

LLVMContextCtx
 

Detailed Description

MLModelRunner interface: abstraction of a mechanism for evaluating a tensorflow "saved model".

Definition at line 21 of file MLModelRunner.h.

Constructor & Destructor Documentation

◆ MLModelRunner() [1/2]

llvm::MLModelRunner::MLModelRunner ( const MLModelRunner )
delete

◆ ~MLModelRunner()

virtual llvm::MLModelRunner::~MLModelRunner ( )
virtualdefault

◆ MLModelRunner() [2/2]

llvm::MLModelRunner::MLModelRunner ( LLVMContext Ctx)
inlineprotected

Definition at line 33 of file MLModelRunner.h.

Member Function Documentation

◆ getFeature()

virtual int64_t llvm::MLModelRunner::getFeature ( int  Index) const
pure virtual

◆ operator=()

MLModelRunner& llvm::MLModelRunner::operator= ( const MLModelRunner )
delete

◆ run()

virtual bool llvm::MLModelRunner::run ( )
pure virtual

◆ setFeature()

virtual void llvm::MLModelRunner::setFeature ( FeatureIndex  Index,
int64_t  Value 
)
pure virtual

Member Data Documentation

◆ Ctx

LLVMContext& llvm::MLModelRunner::Ctx
protected

Definition at line 35 of file MLModelRunner.h.


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