tvm
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tvm::meta_schedule::PyRunnerNode Class Reference

An abstract runner with customized build method on the python-side. More...

#include <runner.h>

Inheritance diagram for tvm::meta_schedule::PyRunnerNode:
Collaboration diagram for tvm::meta_schedule::PyRunnerNode:

Public Member Functions

ffi::Array< RunnerFutureRun (ffi::Array< RunnerInput > runner_inputs) final
 Run the built artifact and get runner futures. More...
 
 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("meta_schedule.PyRunner", PyRunnerNode, RunnerNode)
 
- Public Member Functions inherited from tvm::meta_schedule::RunnerNode
virtual ~RunnerNode ()=default
 Default destructor. More...
 
 TVM_FFI_DECLARE_OBJECT_INFO ("meta_schedule.Runner", RunnerNode, runtime::Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

FRun f_run
 The packed function to run the built artifacts and get runner futures. More...
 

Additional Inherited Members

- Public Types inherited from tvm::meta_schedule::RunnerNode
using FRun = ffi::TypedFunction< ffi::Array< RunnerFuture >(ffi::Array< RunnerInput >)>
 The function type to run the built artifacts and get runner futures. More...
 
- Static Public Attributes inherited from tvm::meta_schedule::RunnerNode
static constexpr const bool _type_mutable = true
 

Detailed Description

An abstract runner with customized build method on the python-side.

Member Function Documentation

◆ RegisterReflection()

static void tvm::meta_schedule::PyRunnerNode::RegisterReflection ( )
inlinestatic

◆ Run()

ffi::Array<RunnerFuture> tvm::meta_schedule::PyRunnerNode::Run ( ffi::Array< RunnerInput runner_inputs)
inlinefinalvirtual

Run the built artifact and get runner futures.

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

Implements tvm::meta_schedule::RunnerNode.

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::meta_schedule::PyRunnerNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "meta_schedule.PyRunner"  ,
PyRunnerNode  ,
RunnerNode   
)

Member Data Documentation

◆ f_run

FRun tvm::meta_schedule::PyRunnerNode::f_run

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


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