Skip to content

Commit 1b79808

Browse files
committed
doc: graph: re-structure the content
1 parent 89dbd9d commit 1b79808

13 files changed

+6
-15
lines changed

doc/graph/supported_patterns.md doc/graph/fusion_patterns/fusion_patterns.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
Supported Fusion Patterns {#dev_guide_graph_fusion_patterns}
2-
============================================================
1+
Fusion Patterns {#dev_guide_graph_fusion_patterns}
2+
==================================================
33

4-
@anchor fusion_patterns
5-
## Fusion Patterns
4+
## Overview
65

76
The following fusion patterns are subgraphs that the oneDNN Graph API recognizes
87
as candidate for fusion. The patterns are described using oneDNN Graph
@@ -72,6 +71,9 @@ ReduceProd | ReduceSum]
7271

7372
| Pattern | Description |
7473
|:--------|:-----------------------------|
74+
| Scaled Dot-Product Attention | Refer to @ref dev_guide_graph_sdpa for more details. |
75+
| Grouped Query Attention | Refer to @ref dev_guide_graph_gqa for more details. |
76+
| Gated Multi-Layer Perceptron (Gated-MLP) | Refer to @ref dev_guide_graph_gated_mlp for more details. |
7577
| Convolution + BiasAdd\f$^?\f$ + BatchNormInference\f$^?\f$ + [Unary \| Binary]\f$^{0-3}\f$\f$_{>out}\f$ | This pattern is widely used in Convolution Neural Networks, for example ResNet, ResNext, SSD, etc. |
7678
| ConvTranspose + BiasAdd\f$^?\f$ + [Unary \| Binary]\f$^{0-3}\f$\f$_{>out}\f$ | This pattern is widely used in Generative Adversarial Networks. |
7779
| Interpolate + [Unary \| Binary]\f$^{0-3}\f$\f$_{>out}\f$ | This pattern is widely used for image processing. |
@@ -83,7 +85,6 @@ ReduceProd | ReduceSum]
8385
| BatchNormInference + ReLU\f$_{>out}\f$ | This pattern is widely used in Convolution Neural Networks, for example DenseNet. |
8486
| Reciprocal + Multiply\f$_{>out}\f$ | N/A |
8587
| Reorder + Add\f$_{>out}\f$ | N/A |
86-
| Scaled Dot-Product Attention | Refer to @ref dev_guide_graph_sdpa for more details. |
8788

8889
#### Quantized Patterns
8990

File renamed without changes.
File renamed without changes.
File renamed without changes.

doc/graph/rst/graph_complex_fusions.rst

-9
This file was deleted.

doc/rst/graph_extension.rst

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Graph Extension
66

77
graph_programming_model
88
graph_supported_operations
9-
graph_complex_fusions
109
dev_guide_graph_fusion_patterns
1110
dev_guide_graph_dump
1211
dev_guide_constant_tensor_cache

0 commit comments

Comments
 (0)