Skip to content

Commit ff8a92e

Browse files
authored
Merge pull request #10483 from weixing02/deadlinks
Fix some image deadlinks in fluid documentation
2 parents 2a22da6 + 6381fc8 commit ff8a92e

File tree

5 files changed

+72
-3
lines changed

5 files changed

+72
-3
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../v2/build_and_install/paddleci.png

doc/fluid/design/motivation/refactorization.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,12 @@ Compile Time -> IR -> Runtime
125125
126126
## Operator/OpWithKernel/OpKernel
127127
128-
![class_diagram](http://api.paddlepaddle.org/graphviz?dot=https://gist.githubusercontent.com/reyoung/53df507f6749762675dff3e7ce53372f/raw/49caf1fb70820fb4a6c217634317c9306f361f36/op_op_with_kern_class_diagram.dot)
128+
![class_diagram](https://raw.githubusercontent.com/PaddlePaddle/Paddle/develop/doc/fluid/images/op_op_with_kern_class_diagram.dot)
129129
130130
---
131131
132132
## Operator
133-
![class_diagram](http://api.paddlepaddle.org/graphviz?dot=https://gist.githubusercontent.com/reyoung/53df507f6749762675dff3e7ce53372f/raw/dd598e8f1976f5759f58af5e5ef94738a6b2e661/op.dot)
133+
![class_diagram](https://raw.githubusercontent.com/PaddlePaddle/Paddle/develop/doc/fluid/images/op.dot)
134134
135135
* `Operator` is the fundamental building block of the user interface.
136136
* Operator stores input/output variable names and attributes.
@@ -141,7 +141,7 @@ Compile Time -> IR -> Runtime
141141
142142
## OpWithKernel/Kernel
143143
144-
![class_diagram](http://api.paddlepaddle.org/graphviz?dot=https://gist.githubusercontent.com/reyoung/53df507f6749762675dff3e7ce53372f/raw/9d7f4eba185cf41c8e2fbfb40ae21890dbddcd39/op_with_kernel.dot)
144+
![class_diagram](https://raw.githubusercontent.com/PaddlePaddle/Paddle/develop/doc/fluid/images/op_with_kernel.dot)
145145
146146
* `OpWithKernel` inherits `Operator`.
147147
* `OpWithKernel` contains a Kernel map.

doc/fluid/images/op.dot

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
digraph sample {
2+
graph [rankdir=TD]; node [shape=record];
3+
op [label="{Operator| InferShape()=0\lRun()=0\l | map<string, string[]> inputs_\lmap<string, string[]> outputs_ \l AttributeMap attrs_\l}"];
4+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
digraph sample {
2+
graph [rankdir=TD]; node [shape=record];
3+
op [label="{Operator| InferShape()=0\lRun()=0\l | map<string, string[]> inputs_\lmap<string, string[]> outputs_ \l AttributeMap attrs_\l}"];
4+
op_with_kern [label="{OpWithKernel | InferShape()=0\lRun()\l | map<OpKernelKey,OpKernel>kernels_ }"]
5+
op_kernel [label="{OpKernel | Compute()=0}"]
6+
op_kernel_key [label="{OpKernelKey| Place place\n...}"]
7+
8+
op -> op_with_kern [dir=back, arrowtail=onormal]
9+
op_with_kern -> op_kernel [arrowhead=vee, label="contains many"]
10+
11+
{
12+
rank=same;
13+
op_with_kern
14+
op_kernel
15+
}
16+
17+
op_kernel -> op_kernel_key [style=invis]
18+
19+
{
20+
rank=same;
21+
op_kernel
22+
op_kernel_key
23+
}
24+
25+
op_with_kern -> op_kernel_key [arrowhead=vee, label ="\nas map key"]
26+
27+
mul_op [label="MulOp"]
28+
op_with_kern -> mul_op [dir=back, arrowtail=onormal]
29+
mul_kernel [label="template <typename Place>\lclass MulOpKernel\l"]
30+
op_kernel -> mul_kernel [dir=back, arrowtail=onormal]
31+
mul_op -> mul_kernel [arrowhead=vee, label="register many"]
32+
33+
{
34+
rank=same;
35+
mul_op;
36+
mul_kernel;
37+
}
38+
}

doc/fluid/images/op_with_kernel.dot

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
digraph sample {
2+
graph [rankdir=TD]; node [shape=record];
3+
op [label="{Operator}"];
4+
op_with_kern [label="{OpWithKernel | InferShape()=0\lRun()\l | map<OpKernelKey,OpKernel>kernels_ }"]
5+
op_kernel [label="{OpKernel | Compute()=0}"]
6+
op_kernel_key [label="{OpKernelKey| Place place\n...}"]
7+
8+
op -> op_with_kern [dir=back, arrowtail=onormal]
9+
op_with_kern -> op_kernel [arrowhead=vee, label="contains many"]
10+
11+
{
12+
rank=same;
13+
op_with_kern
14+
op_kernel
15+
}
16+
17+
op_kernel -> op_kernel_key [style=invis]
18+
19+
{
20+
rank=same;
21+
op_kernel
22+
op_kernel_key
23+
}
24+
25+
op_with_kern -> op_kernel_key [arrowhead=vee, label ="\nas map key"]
26+
}

0 commit comments

Comments
 (0)