tvm
|
Managed reference to SpaceGeneratorNode. More...
#include <space_generator.h>
Public Member Functions | |
TVM_DEFINE_MUTABLE_NOTNULLABLE_OBJECT_REF_METHODS (SpaceGenerator, ObjectRef, SpaceGeneratorNode) | |
![]() | |
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 SpaceGenerator | PySpaceGenerator (PySpaceGeneratorNode::FInitializeWithTuneContext f_initialize_with_tune_context, PySpaceGeneratorNode::FGenerateDesignSpace f_generate_design_space) |
Create a design space generator with customized methods on the python-side. More... | |
static SpaceGenerator | SpaceGeneratorUnion (Array< SpaceGenerator, void > space_generators) |
Create a design space generator that is union of multiple design space generators. More... | |
static SpaceGenerator | PostOrderApply () |
Create a design space generator that generates design spaces by applying schedule rules to blocks in post-DFS order. More... | |
Protected Member Functions | |
SpaceGenerator ()=default | |
![]() | |
Object * | get_mutable () const |
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 SpaceGeneratorNode.
|
protecteddefault |
|
static |
Create a design space generator that generates design spaces by applying schedule rules to blocks in post-DFS order.
|
static |
Create a design space generator with customized methods on the python-side.
f_initialize_with_tune_context | The packed function of InitializeWithTuneContext . |
f_generate_design_space | The packed function of GenerateDesignSpace . |
|
static |
Create a design space generator that is union of multiple design space generators.
space_generators | An array of design space generators to be unioned. |
tvm::meta_schedule::SpaceGenerator::TVM_DEFINE_MUTABLE_NOTNULLABLE_OBJECT_REF_METHODS | ( | SpaceGenerator | , |
ObjectRef | , | ||
SpaceGeneratorNode | |||
) |