Managed reference class to UniqueNameSupplyNode.
More...
#include <unique_name_supply.h>
◆ UniqueNameSupply() [1/2]
| tvm::UniqueNameSupply::UniqueNameSupply |
( |
const ffi::String & |
prefix = "", |
|
|
ffi::Map< ffi::String, int64_t > |
name_map = {} |
|
) |
| |
|
explicit |
Constructor.
- Parameters
-
| prefix | The prefix to be used with this UniqueNameSupply. |
| name_map | An optional map. |
◆ UniqueNameSupply() [2/2]
template<typename Iter , typename Lambda >
| tvm::UniqueNameSupply::UniqueNameSupply |
( |
Iter |
begin, |
|
|
Iter |
end, |
|
|
Lambda |
f |
|
) |
| |
|
inline |
Construct UniqueNameSupply by reserving names from the given iterator range.
The functor should return the name of the dereferenced object.
◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()
The documentation for this class was generated from the following file: