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

Method dataflow

python/tvm/relax/block_builder.py:283–291  ·  view source on GitHub ↗

Annotate a Relax dataflow block. Returns ------- ret: DataflowScope A DataflowScope for building a Relax dataflow block.

(self)

Source from the content-addressed store, hash-verified

281 return TestingScope(self, def_vars)
282
283 def dataflow(self) -> DataflowScope:
284 """Annotate a Relax dataflow block.
285
286 Returns
287 -------
288 ret: DataflowScope
289 A DataflowScope for building a Relax dataflow block.
290 """
291 return DataflowScope(self)
292
293 def _normalize_python_tuple(self, expr: Expr | Sequence[Expr]):
294 """Internal utility function to convert to relax.Tuple

Callers 15

from_tfliteFunction · 0.95
__call__Method · 0.95
__call__Method · 0.95
__call__Method · 0.95
__call__Method · 0.95
get_functionMethod · 0.95
get_functionMethod · 0.95
get_functionMethod · 0.95
test_mlp_blockbuilderFunction · 0.95
beforeFunction · 0.95
expectedFunction · 0.95

Calls 1

DataflowScopeClass · 0.85

Tested by 15

test_mlp_blockbuilderFunction · 0.76
beforeFunction · 0.76
expectedFunction · 0.76
test_use_defFunction · 0.76
test_dataflow_blockFunction · 0.76
test_addFunction · 0.76
test_add_constFunction · 0.76
test_multiplyFunction · 0.76