Skip to content

Commit bd92993

Browse files
committed
[Relax][Doc] Visualize Relax
- Add a diagram to the document to visually represent interactions between Relax components and their dependencies - Fix typos
1 parent c6969d7 commit bd92993

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed
110 KB
Loading
74.6 KB
Loading

docs/arch/index.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,16 @@ tvm/relax
299299
---------
300300

301301
Relax is the high-level IR used to represent the computational graph of a model. Various optimizations are defined in ``relax.transform``.
302-
Note that Relax usually works closely the the TensorIR IRModule, most of the transformations are applied on the both Relax and TensorIR functions
302+
Note that Relax usually works closely with the TensorIR IRModule, most of the transformations are applied on both Relax and TensorIR functions
303303
in the IRModule. Please refer to the :ref:`Relax Deep Dive <relax-deep-dive>` for more details.
304304

305+
.. figure:: https://raw.githubusercontent.com/apache/tvm/main/docs/arch/diagrams/relax-sequence_diagram.png
306+
:align: center
307+
:width: 80%
308+
.. figure:: https://raw.githubusercontent.com/apache/tvm/main/docs/arch/diagrams/relax-block_diagram.png
309+
:align: center
310+
:width: 80%
311+
305312
tvm/tir
306313
-------
307314

0 commit comments

Comments
 (0)