fix broken figures

This commit is contained in:
zilinzhu 2020-06-22 21:49:59 +08:00
parent b00a7808a7
commit a44416d0fc
2 changed files with 9 additions and 7 deletions

View File

@ -3,9 +3,10 @@
Caution: Tiled layout is *pre-release* and this describes how it's intended to
work. Errors may be silently ignored.
<center> ![](images/xla_array_layout_figure1.png)
Figure 1 </center>
<p align="center">
<img src="images/xla_array_layout_figure1.png">
Figure 1
</p>
Figure 1 shows how an array F32[3,5] is laid out in memory with 2x2 tiling. A
shape with this layout is written as F32[3,5]{1,0:(2,2)}, where 1,0 relates to
@ -120,9 +121,10 @@ element follows the formula above as expected.
XLA's tiling becomes even more flexible by applying it repeatedly.
<center> ![](images/xla_array_layout_figure2.png)
Figure 2 </center>
<p align="center">
<img src="images/xla_array_layout_figure2.png">
Figure 2
</p>
Figure 2 shows how an array of size 4x8 is tiled by two levels of tiling (first
2x4 then 2x1). We represent this repeated tiling as (2,4)(2,1). Each color

View File

@ -120,7 +120,7 @@ enum Format {
}
// Describes a tile used in tiling-based layout. Refer to
// g3doc/third_party/tensorflow/compiler/xla/g3doc/layout_with_tiling.md for
// g3doc/third_party/tensorflow/compiler/xla/g3doc/tiled_layout.md for
// details about tiling-based layout.
message TileProto {
// Number of elements in each dimension of the tile. It's ordered from the