MCPcopy Index your code
hub / github.com/apache/tvm / __enter__

Method __enter__

python/tvm/tirx/script/builder/frame.py:43–45  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41@_register_object("script.ir_builder.tirx.ForFrame")
42class ForFrame(TIRFrame):
43 def __enter__(self) -> Var | list[Var]: # type: ignore[override]
44 super().__enter__()
45 return self.vars if len(self.vars) > 1 else self.vars[0]
46
47
48@_register_object("script.ir_builder.tirx.AssertFrame")

Callers 11

bind_assign_valueFunction · 0.45
visit_expr_stmtFunction · 0.45
visit_assertFunction · 0.45
__enter__Method · 0.45
__enter__Method · 0.45
__enter__Method · 0.45
__enter__Method · 0.45
__enter__Method · 0.45
device_entryFunction · 0.45
sblock_alloc_bufferFunction · 0.45
decl_bufferFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected