tvm
|
Managed reference to ApplyHistoryBestNode. More...
#include <apply_history_best.h>
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) | |
![]() | |
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 Object * | get () const |
const Object * | operator-> () 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< ApplyHistoryBest > | Current () |
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... | |
![]() | |
Object * | get_mutable () const |
Friends | |
class | ApplyHistoryBestInternal |
Additional Inherited Members | |
![]() | |
using | ContainerType = Object |
type indicate the container type. More... | |
![]() | |
static constexpr bool | _type_is_nullable = true |
![]() | |
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... | |
![]() | |
ObjectPtr< Object > | data_ |
Internal pointer that backs the reference. More... | |
Managed reference to ApplyHistoryBestNode.
|
explicit |
database | The database to be queried from |
te_filter_func | The filtering function for TE computation |
logging_func | The logging function to use |
|
static |
The current ApplyHistoryBest in the context.
|
protected |
Entering the scope of the context manager.
|
protected |
Exiting the scope of the context manager.
tvm::meta_schedule::ApplyHistoryBest::TVM_DEFINE_MUTABLE_NOTNULLABLE_OBJECT_REF_METHODS | ( | ApplyHistoryBest | , |
runtime::ObjectRef | , | ||
ApplyHistoryBestNode | |||
) |
|
friend |