tvm
Public Member Functions | Static Public Member Functions | Public Attributes | Static 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

Array< RunnerFutureRun (Array< RunnerInput > runner_inputs) final
 Run the built artifact and get runner futures. More...
 
 TVM_DECLARE_FINAL_OBJECT_INFO (PyRunnerNode, RunnerNode)
 
- Public Member Functions inherited from tvm::meta_schedule::RunnerNode
virtual ~RunnerNode ()=default
 Default destructor. More...
 
 TVM_DECLARE_BASE_OBJECT_INFO (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...
 

Static Public Attributes

static constexpr const char * _type_key = "meta_schedule.PyRunner"
 
- Static Public Attributes inherited from tvm::meta_schedule::RunnerNode
static constexpr const char * _type_key = "meta_schedule.Runner"
 

Additional Inherited Members

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

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()

Array<RunnerFuture> tvm::meta_schedule::PyRunnerNode::Run ( 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_DECLARE_FINAL_OBJECT_INFO()

tvm::meta_schedule::PyRunnerNode::TVM_DECLARE_FINAL_OBJECT_INFO ( PyRunnerNode  ,
RunnerNode   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::meta_schedule::PyRunnerNode::_type_key = "meta_schedule.PyRunner"
staticconstexpr

◆ 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: