MLCompilerBridge
Tools for streamlining communication with ML models for compiler optimizations.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
MLBridge::NoopSavedModelImpl Class Referencefinal

A mock class satisfying the interface expected by ReleaseModeModelRunner for its TGen parameter. More...

#include <TFModelRunner.h>

Public Member Functions

 NoopSavedModelImpl ()=default
 
int LookupArgIndex (const std::string &)
 
int LookupResultIndex (const std::string &)
 
void Run ()
 
void * result_data (int)
 
void * arg_data (int)
 

Detailed Description

A mock class satisfying the interface expected by ReleaseModeModelRunner for its TGen parameter.

Useful to avoid conditional compilation complexity, as a compile-time replacement for a real AOT-ed model.

Definition at line 85 of file TFModelRunner.h.

Constructor & Destructor Documentation

◆ NoopSavedModelImpl()

MLBridge::NoopSavedModelImpl::NoopSavedModelImpl ( )
default

Member Function Documentation

◆ arg_data()

void * MLBridge::NoopSavedModelImpl::arg_data ( int )
inline

Definition at line 100 of file TFModelRunner.h.

◆ LookupArgIndex()

int MLBridge::NoopSavedModelImpl::LookupArgIndex ( const std::string & )
inline

Definition at line 92 of file TFModelRunner.h.

◆ LookupResultIndex()

int MLBridge::NoopSavedModelImpl::LookupResultIndex ( const std::string & )
inline

Definition at line 95 of file TFModelRunner.h.

◆ result_data()

void * MLBridge::NoopSavedModelImpl::result_data ( int )
inline

Definition at line 99 of file TFModelRunner.h.

◆ Run()

void MLBridge::NoopSavedModelImpl::Run ( )
inline

Definition at line 98 of file TFModelRunner.h.


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