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

Method emit_normalized

python/tvm/relax/block_builder.py:761–769  ·  view source on GitHub ↗

Emit an already normalized binding. Parameters ---------- binding: Binding The binding to be emitted.

(self, binding: Binding)

Source from the content-addressed store, hash-verified

759 return _ffi_api.BlockBuilderCurrentBlockIsDataFlow(self) # type: ignore
760
761 def emit_normalized(self, binding: Binding) -> None:
762 """Emit an already normalized binding.
763
764 Parameters
765 ----------
766 binding: Binding
767 The binding to be emitted.
768 """
769 _ffi_api.BlockBuilderEmitNormalized(self, binding) # type: ignore
770
771 def lookup_binding(self, var: Var) -> Expr | None:
772 """Lookup a var in the binding table.

Callers 5

test_emitsFunction · 0.95
visit_var_Method · 0.80
visit_var_binding_Method · 0.80
visit_match_cast_Method · 0.80

Calls

no outgoing calls

Tested by 4

test_emitsFunction · 0.76
visit_var_binding_Method · 0.64
visit_match_cast_Method · 0.64