commit
0ae97e8a5b
@ -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"]
|
||||||
|
}
|
Loading…
Reference in new issue