tvm
Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
tvm::meta_schedule::ApplyHistoryBest Class Reference

Managed reference to ApplyHistoryBestNode. More...

#include <apply_history_best.h>

Inheritance diagram for tvm::meta_schedule::ApplyHistoryBest:
Collaboration diagram for tvm::meta_schedule::ApplyHistoryBest:

Public Member Functions

 ApplyHistoryBest (Database database, ApplyHistoryBestNode::FTEFilterFunc te_filter_func, PackedFunc logging_func)
 Constructor. More...
 
 TVM_DEFINE_MUTABLE_NOTNULLABLE_OBJECT_REF_METHODS (ApplyHistoryBest, runtime::ObjectRef, ApplyHistoryBestNode)
 
- Public Member Functions inherited from tvm::runtime::ObjectRef
 ObjectRef ()=default
 default constructor More...
 
 ObjectRef (ObjectPtr< Object > data)
 Constructor from existing object ptr. More...
 
bool same_as (const ObjectRef &other) const
 Comparator. More...
 
bool operator== (const ObjectRef &other) const
 Comparator. More...
 
bool operator!= (const ObjectRef &other) const
 Comparator. More...
 
bool operator< (const ObjectRef &other) const
 Comparator. More...
 
bool defined () const
 
const Objectget () const
 
const Objectoperator-> () const
 
bool unique () const
 
int use_count () const
 
template<typename ObjectType >
const ObjectType * as () const
 Try to downcast the internal Object to a raw pointer of a corresponding type. More...
 

Static Public Member Functions

static Optional< ApplyHistoryBestCurrent ()
 The current ApplyHistoryBest in the context. More...
 

Protected Member Functions

void EnterWithScope ()
 Entering the scope of the context manager. More...
 
void ExitWithScope ()
 Exiting the scope of the context manager. More...
 
- Protected Member Functions inherited from tvm::runtime::ObjectRef
Objectget_mutable () const
 

Friends

class ApplyHistoryBestInternal
 

Additional Inherited Members

- Public Types inherited from tvm::runtime::ObjectRef
using ContainerType = Object
 type indicate the container type. More...
 
- Static Public Attributes inherited from tvm::runtime::ObjectRef
static constexpr bool _type_is_nullable = true
 
- Static Protected Member Functions inherited from tvm::runtime::ObjectRef
template<typename T >
static T DowncastNoCheck (ObjectRef ref)
 Internal helper function downcast a ref without check. More...
 
static void FFIClearAfterMove (ObjectRef *ref)
 Clear the object ref data field without DecRef after we successfully moved the field. More...
 
template<typename ObjectType >
static ObjectPtr< ObjectType > GetDataPtr (const ObjectRef &ref)
 Internal helper function get data_ as ObjectPtr of ObjectType. More...
 
- Protected Attributes inherited from tvm::runtime::ObjectRef
ObjectPtr< Objectdata_
 Internal pointer that backs the reference. More...
 

Detailed Description

Managed reference to ApplyHistoryBestNode.

See also
ApplyHistoryBestNode

Constructor & Destructor Documentation

◆ ApplyHistoryBest()

tvm::meta_schedule::ApplyHistoryBest::ApplyHistoryBest ( Database  database,
ApplyHistoryBestNode::FTEFilterFunc  te_filter_func,
PackedFunc  logging_func 
)
explicit

Constructor.

Parameters
databaseThe database to be queried from
te_filter_funcThe filtering function for TE computation
logging_funcThe logging function to use

Member Function Documentation

◆ Current()

static Optional<ApplyHistoryBest> tvm::meta_schedule::ApplyHistoryBest::Current ( )
static

The current ApplyHistoryBest in the context.

Returns
The ApplyHistoryBest in the current scope.

◆ EnterWithScope()

void tvm::meta_schedule::ApplyHistoryBest::EnterWithScope ( )
protected

Entering the scope of the context manager.

◆ ExitWithScope()

void tvm::meta_schedule::ApplyHistoryBest::ExitWithScope ( )
protected

Exiting the scope of the context manager.

◆ TVM_DEFINE_MUTABLE_NOTNULLABLE_OBJECT_REF_METHODS()

tvm::meta_schedule::ApplyHistoryBest::TVM_DEFINE_MUTABLE_NOTNULLABLE_OBJECT_REF_METHODS ( ApplyHistoryBest  ,
runtime::ObjectRef  ,
ApplyHistoryBestNode   
)

Friends And Related Function Documentation

◆ ApplyHistoryBestInternal

friend class ApplyHistoryBestInternal
friend

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