MCPcopy Create free account
hub / github.com/apache/tvm / name

Method name

python/tvm/script/ir_builder/base.py:165–180  ·  view source on GitHub ↗

Set the name of an object. Parameters ---------- s : str The name of the object. v : Any The object to name. Returns ------- v : Any The same object with the name set.

(s: str, v: Any)

Source from the content-addressed store, hash-verified

163
164 @staticmethod
165 def name(s: str, v: Any) -> Any:
166 """Set the name of an object.
167
168 Parameters
169 ----------
170 s : str
171 The name of the object.
172 v : Any
173 The object to name.
174
175 Returns
176 -------
177 v : Any
178 The same object with the name set.
179 """
180 return _ffi_api.IRBuilderName(s, v) # type: ignore[attr-defined] # pylint: disable=no-member
181
182 @staticmethod
183 def name_many( # pylint: disable=invalid-name

Callers 1

name_manyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected