Annotate a Relax dataflow block. Returns ------- ret: DataflowScope A DataflowScope for building a Relax dataflow block.
(self)
| 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 |