Class UniqueNameSupply#

Inheritance Relationships#

Base Type#

  • public ffi::ObjectRef

Class Documentation#

class UniqueNameSupply : public ffi::ObjectRef#

Managed reference class to UniqueNameSupplyObj.

Public Types

using ContainerType = UniqueNameSupplyObj#

Public Functions

explicit UniqueNameSupply(const ffi::String &prefix = "", ffi::Map<ffi::String, int64_t> name_map = {})#

Constructor.

Parameters:
  • prefix – The prefix to be used with this UniqueNameSupply.

  • name_map – An optional map.

template<typename Iter, typename Lambda>
inline UniqueNameSupply(Iter begin, Iter end, Lambda f)#

Construct UniqueNameSupply by reserving names from the given iterator range.

The functor should return the name of the dereferenced object.

inline explicit UniqueNameSupply(::tvm::ffi::UnsafeInit tag)#
inline __PtrType operator->() const#
inline __PtrType get() const#