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

Method __enter__

python/tvm/relax/block_builder.py:54–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

52 self._is_emit_func_output_called = False
53
54 def __enter__(self):
55 self._bb._enter_function_scope(self)
56
57 def __exit__(self, exc_type, exc_val, exc_tb):
58 # __exit__ should properly handle the case where the with block exits with an exception

Callers

nothing calls this directly

Calls 1

_enter_function_scopeMethod · 0.80

Tested by

no test coverage detected