Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/clean_op_maker
@ -0,0 +1 @@
|
||||
../../v2/build_and_install/paddleci.png
|
@ -0,0 +1,4 @@
|
||||
digraph sample {
|
||||
graph [rankdir=TD]; node [shape=record];
|
||||
op [label="{Operator| InferShape()=0\lRun()=0\l | map<string, string[]> inputs_\lmap<string, string[]> outputs_ \l AttributeMap attrs_\l}"];
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
digraph sample {
|
||||
graph [rankdir=TD]; node [shape=record];
|
||||
op [label="{Operator| InferShape()=0\lRun()=0\l | map<string, string[]> inputs_\lmap<string, string[]> outputs_ \l AttributeMap attrs_\l}"];
|
||||
op_with_kern [label="{OpWithKernel | InferShape()=0\lRun()\l | map<OpKernelKey,OpKernel>kernels_ }"]
|
||||
op_kernel [label="{OpKernel | Compute()=0}"]
|
||||
op_kernel_key [label="{OpKernelKey| Place place\n...}"]
|
||||
|
||||
op -> op_with_kern [dir=back, arrowtail=onormal]
|
||||
op_with_kern -> op_kernel [arrowhead=vee, label="contains many"]
|
||||
|
||||
{
|
||||
rank=same;
|
||||
op_with_kern
|
||||
op_kernel
|
||||
}
|
||||
|
||||
op_kernel -> op_kernel_key [style=invis]
|
||||
|
||||
{
|
||||
rank=same;
|
||||
op_kernel
|
||||
op_kernel_key
|
||||
}
|
||||
|
||||
op_with_kern -> op_kernel_key [arrowhead=vee, label ="\nas map key"]
|
||||
|
||||
mul_op [label="MulOp"]
|
||||
op_with_kern -> mul_op [dir=back, arrowtail=onormal]
|
||||
mul_kernel [label="template <typename Place>\lclass MulOpKernel\l"]
|
||||
op_kernel -> mul_kernel [dir=back, arrowtail=onormal]
|
||||
mul_op -> mul_kernel [arrowhead=vee, label="register many"]
|
||||
|
||||
{
|
||||
rank=same;
|
||||
mul_op;
|
||||
mul_kernel;
|
||||
}
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
digraph sample {
|
||||
graph [rankdir=TD]; node [shape=record];
|
||||
op [label="{Operator}"];
|
||||
op_with_kern [label="{OpWithKernel | InferShape()=0\lRun()\l | map<OpKernelKey,OpKernel>kernels_ }"]
|
||||
op_kernel [label="{OpKernel | Compute()=0}"]
|
||||
op_kernel_key [label="{OpKernelKey| Place place\n...}"]
|
||||
|
||||
op -> op_with_kern [dir=back, arrowtail=onormal]
|
||||
op_with_kern -> op_kernel [arrowhead=vee, label="contains many"]
|
||||
|
||||
{
|
||||
rank=same;
|
||||
op_with_kern
|
||||
op_kernel
|
||||
}
|
||||
|
||||
op_kernel -> op_kernel_key [style=invis]
|
||||
|
||||
{
|
||||
rank=same;
|
||||
op_kernel
|
||||
op_kernel_key
|
||||
}
|
||||
|
||||
op_with_kern -> op_kernel_key [arrowhead=vee, label ="\nas map key"]
|
||||
}
|
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 116 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 179 KiB |
After Width: | Height: | Size: 236 KiB |
After Width: | Height: | Size: 361 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 159 KiB |
After Width: | Height: | Size: 225 KiB |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 42 KiB |
@ -0,0 +1,42 @@
|
||||
digraph G{
|
||||
subgraph cluster_timestep0 {
|
||||
label="recurrent timestep i-1"
|
||||
bgcolor=lightgray
|
||||
node [style=filled,color=white]
|
||||
fc0_0 [label="fc 0"]
|
||||
fc0_1 [label="fc 1"]
|
||||
fc0_2 [label="fc 2"]
|
||||
|
||||
fc0_0 -> fc0_1
|
||||
fc0_1 -> fc0_2
|
||||
}
|
||||
|
||||
subgraph cluster_timestep1 {
|
||||
label="recurrent timestep i"
|
||||
node [style=filled];
|
||||
fc1_0 [label="fc 0"]
|
||||
fc1_1 [label="fc 1"]
|
||||
fc1_2 [label="fc 2"]
|
||||
color=blue
|
||||
|
||||
fc1_0 -> fc1_1
|
||||
fc1_1 -> fc1_2
|
||||
}
|
||||
|
||||
subgraph cluster_timestep2 {
|
||||
label="recurrent timestep i+1"
|
||||
bgcolor=lightgray
|
||||
node [style=filled,color=white]
|
||||
fc2_0 [label="fc 0"]
|
||||
fc2_1 [label="fc 1"]
|
||||
fc2_2 [label="fc 2"]
|
||||
|
||||
fc2_0 -> fc2_1
|
||||
fc2_1 -> fc2_2
|
||||
}
|
||||
|
||||
|
||||
fc0_1 -> fc1_1 [style="dotted" constraint=false]
|
||||
fc1_1 -> fc2_1 [style="dotted" constraint=false]
|
||||
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
digraph G{
|
||||
subgraph cluster_timestep0 {
|
||||
label="recurrent timestep i-1"
|
||||
bgcolor=lightgray
|
||||
node [style=filled,color=white]
|
||||
fc0_0 [label="fc 0"]
|
||||
fc0_1 [label="fc 1"]
|
||||
fc0_2 [label="fc 2"]
|
||||
m0 [label="memory"]
|
||||
fc0_0 -> fc0_1
|
||||
fc0_1 -> fc0_2
|
||||
fc0_1 -> m0
|
||||
m0 -> fc0_1
|
||||
}
|
||||
|
||||
subgraph cluster_timestep1 {
|
||||
label="recurrent timestep i"
|
||||
node [style=filled];
|
||||
fc1_0 [label="fc 0"]
|
||||
fc1_1 [label="fc 1"]
|
||||
fc1_2 [label="fc 2"]
|
||||
m1 [label="memory"]
|
||||
color=blue
|
||||
fc1_0 -> fc1_1
|
||||
fc1_1 -> fc1_2
|
||||
fc1_1 -> m1
|
||||
m1 -> fc1_1
|
||||
}
|
||||
|
||||
subgraph cluster_timestep2 {
|
||||
label="recurrent timestep i+1"
|
||||
bgcolor=lightgray
|
||||
node [style=filled,color=white]
|
||||
fc2_0 [label="fc 0"]
|
||||
fc2_1 [label="fc 1"]
|
||||
fc2_2 [label="fc 2"]
|
||||
m2 [label="memory"]
|
||||
fc2_0 -> fc2_1
|
||||
fc2_1 -> fc2_2
|
||||
fc2_1 -> m2
|
||||
m2 -> fc2_1
|
||||
}
|
||||
|
||||
|
||||
m0 -> m1 [style="dotted" constraint=false]
|
||||
m1 -> m2 [style="dotted" constraint=false]
|
||||
|
||||
}
|
After Width: | Height: | Size: 22 KiB |