Skip to content

Commit b0ca371

Browse files
author
reyoung
committed
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into feature/clean_op_maker
2 parents 0e78cb6 + 28de0ea commit b0ca371

File tree

103 files changed

+782
-95
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+782
-95
lines changed

cmake/external/mkldnn.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ ExternalProject_Add(
5353
${EXTERNAL_PROJECT_LOG_ARGS}
5454
DEPENDS ${MKLDNN_DEPENDS}
5555
GIT_REPOSITORY "https://github.com/01org/mkl-dnn.git"
56-
GIT_TAG "v0.11"
56+
GIT_TAG "v0.14"
5757
PREFIX ${MKLDNN_SOURCES_DIR}
5858
UPDATE_COMMAND ""
5959
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${MKLDNN_INSTALL_DIR}
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

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+
}

doc/v2/design/mkl/mkldnn.md

Lines changed: 37 additions & 10 deletions

doc/v2/images/FullyConnected.jpg

49.7 KB

doc/v2/images/add_security_group.png

116 KB

doc/v2/images/bi_lstm.jpg

34.8 KB

0 commit comments

Comments
 (0)