tvm
Public Types | Public Member Functions | Static Public Attributes | List of all members
tvm::meta_schedule::RunnerNode Class Referenceabstract

The abstract runner interface. More...

#include <runner.h>

Inheritance diagram for tvm::meta_schedule::RunnerNode:
Collaboration diagram for tvm::meta_schedule::RunnerNode:

Public Types

using FRun = ffi::TypedFunction< ffi::Array< RunnerFuture >(ffi::Array< RunnerInput >)>
 The function type to run the built artifacts and get runner futures. More...
 

Public Member Functions

virtual ~RunnerNode ()=default
 Default destructor. More...
 
virtual ffi::Array< RunnerFutureRun (ffi::Array< RunnerInput > runner_inputs)=0
 Run the built artifact and get runner futures. More...
 
 TVM_FFI_DECLARE_OBJECT_INFO ("meta_schedule.Runner", RunnerNode, runtime::Object)
 

Static Public Attributes

static constexpr const bool _type_mutable = true
 

Detailed Description

The abstract runner interface.

Member Typedef Documentation

◆ FRun

using tvm::meta_schedule::RunnerNode::FRun = ffi::TypedFunction<ffi::Array<RunnerFuture>(ffi::Array<RunnerInput>)>

The function type to run the built artifacts and get runner futures.

Parameters
inputThe runner's inputs.
Returns
The runner futures.
See also
RunnerFuture

Constructor & Destructor Documentation

◆ ~RunnerNode()

virtual tvm::meta_schedule::RunnerNode::~RunnerNode ( )
virtualdefault

Default destructor.

Member Function Documentation

◆ Run()

virtual ffi::Array<RunnerFuture> tvm::meta_schedule::RunnerNode::Run ( ffi::Array< RunnerInput runner_inputs)
pure virtual

Run the built artifact and get runner futures.

Parameters
runner_inputsThe runner's inputs.
Returns
The runner futures.

Implemented in tvm::meta_schedule::PyRunnerNode.

◆ TVM_FFI_DECLARE_OBJECT_INFO()

tvm::meta_schedule::RunnerNode::TVM_FFI_DECLARE_OBJECT_INFO ( "meta_schedule.Runner"  ,
RunnerNode  ,
runtime::Object   
)

Member Data Documentation

◆ _type_mutable

constexpr const bool tvm::meta_schedule::RunnerNode::_type_mutable = true
staticconstexpr

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