nhwc-grad.svg 16.3 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.38.0 (20140413.2041)
 -->
<!-- Title: G Pages: 1 -->
<svg width="1556pt" height="403pt"
 viewBox="0.00 0.00 1555.94 403.09" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 399.09)">
<title>G</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-399.09 1551.94,-399.09 1551.94,4 -4,4"/>
<!-- feed_op -->
<g id="node1" class="node"><title>feed_op</title>
<ellipse fill="none" stroke="black" cx="47.3762" cy="-301.045" rx="44.5955" ry="44.5955"/>
<text text-anchor="middle" x="47.3762" y="-312.845" font-family="Times,serif" font-size="14.00">Feed Op</text>
<text text-anchor="middle" x="47.3762" y="-281.845" font-family="Times,serif" font-size="14.00">Paddle</text>
</g>
<!-- tensor_feed -->
<g id="node17" class="node"><title>tensor_feed</title>
<polygon fill="none" stroke="black" points="260.752,-327.545 135.752,-327.545 135.752,-274.545 260.752,-274.545 260.752,-327.545"/>
<text text-anchor="middle" x="198.252" y="-312.345" font-family="Times,serif" font-size="14.00">Tensor feed_op</text>
<text text-anchor="middle" x="198.252" y="-297.345" font-family="Times,serif" font-size="14.00">layout=kNCHW</text>
<text text-anchor="middle" x="198.252" y="-282.345" font-family="Times,serif" font-size="14.00">NHWC dim format</text>
</g>
<!-- feed_op&#45;&gt;tensor_feed -->
<g id="edge1" class="edge"><title>feed_op&#45;&gt;tensor_feed</title>
<path fill="none" stroke="black" d="M92.2355,-301.045C92.2355,-301.045 125.696,-301.045 125.696,-301.045"/>
<polygon fill="black" stroke="black" points="125.696,-304.545 135.696,-301.045 125.696,-297.545 125.696,-304.545"/>
</g>
<!-- fetch_op -->
<g id="node2" class="node"><title>fetch_op</title>
<ellipse fill="none" stroke="black" cx="47.3762" cy="-94.0452" rx="47.2526" ry="47.2526"/>
<text text-anchor="middle" x="47.3762" y="-105.845" font-family="Times,serif" font-size="14.00">Fetch Op</text>
<text text-anchor="middle" x="47.3762" y="-74.8452" font-family="Times,serif" font-size="14.00">Paddle</text>
</g>
<!-- mean_op -->
<g id="node3" class="node"><title>mean_op</title>
<ellipse fill="none" stroke="black" cx="1477.94" cy="-302.045" rx="48.1667" ry="48.1667"/>
<text text-anchor="middle" x="1477.94" y="-313.845" font-family="Times,serif" font-size="14.00">Mean Op</text>
<text text-anchor="middle" x="1477.94" y="-282.845" font-family="Times,serif" font-size="14.00">Paddle</text>
</g>
<!-- tensor_output_mean -->
<g id="node15" class="node"><title>tensor_output_mean</title>
<polygon fill="none" stroke="black" points="1540.44,-235.545 1415.44,-235.545 1415.44,-182.545 1540.44,-182.545 1540.44,-235.545"/>
<text text-anchor="middle" x="1477.94" y="-220.345" font-family="Times,serif" font-size="14.00">Tensor mean op</text>
<text text-anchor="middle" x="1477.94" y="-205.345" font-family="Times,serif" font-size="14.00">layout=kNHWC</text>
<text text-anchor="middle" x="1477.94" y="-190.345" font-family="Times,serif" font-size="14.00">NHWC dim format</text>
</g>
<!-- mean_op&#45;&gt;tensor_output_mean -->
<g id="edge9" class="edge"><title>mean_op&#45;&gt;tensor_output_mean</title>
<path fill="none" stroke="black" d="M1477.94,-253.911C1477.94,-253.911 1477.94,-245.855 1477.94,-245.855"/>
<polygon fill="black" stroke="black" points="1481.44,-245.855 1477.94,-235.855 1474.44,-245.855 1481.44,-245.855"/>
</g>
<!-- mean_grad_op -->
<g id="node4" class="node"><title>mean_grad_op</title>
<ellipse fill="none" stroke="black" cx="1477.94" cy="-94.0452" rx="70.0071" ry="70.0071"/>
<text text-anchor="middle" x="1477.94" y="-105.845" font-family="Times,serif" font-size="14.00">Mean Grad Op</text>
<text text-anchor="middle" x="1477.94" y="-74.8452" font-family="Times,serif" font-size="14.00">Paddle</text>
</g>
<!-- tensor_mean_grad -->
<g id="node16" class="node"><title>tensor_mean_grad</title>
<polygon fill="none" stroke="black" points="1371.93,-120.545 1238.93,-120.545 1238.93,-67.5452 1371.93,-67.5452 1371.93,-120.545"/>
<text text-anchor="middle" x="1305.43" y="-105.345" font-family="Times,serif" font-size="14.00">Tensor mean grad op</text>
<text text-anchor="middle" x="1305.43" y="-90.3452" font-family="Times,serif" font-size="14.00">layout=kNHWC</text>
<text text-anchor="middle" x="1305.43" y="-75.3452" font-family="Times,serif" font-size="14.00">NHWC dim format</text>
</g>
<!-- mean_grad_op&#45;&gt;tensor_mean_grad -->
<g id="edge12" class="edge"><title>mean_grad_op&#45;&gt;tensor_mean_grad</title>
<path fill="none" stroke="black" d="M1407.77,-94.0452C1407.77,-94.0452 1382.19,-94.0452 1382.19,-94.0452"/>
<polygon fill="black" stroke="black" points="1382.19,-90.5453 1372.19,-94.0452 1382.19,-97.5453 1382.19,-90.5453"/>
</g>
<!-- conv_mkldnn -->
<g id="node5" class="node"><title>conv_mkldnn</title>
<ellipse fill="none" stroke="black" cx="556.798" cy="-301.045" rx="94.0904" ry="94.0904"/>
<text text-anchor="middle" x="556.798" y="-320.345" font-family="Times,serif" font-size="14.00">Conv Op</text>
<text text-anchor="middle" x="556.798" y="-305.345" font-family="Times,serif" font-size="14.00">data_format=NHWC</text>
<text text-anchor="middle" x="556.798" y="-274.345" font-family="Times,serif" font-size="14.00">MKL&#45;DNN</text>
</g>
<!-- tensor_mkldnn -->
<g id="node9" class="node"><title>tensor_mkldnn</title>
<polygon fill="none" stroke="black" points="814.843,-327.545 689.843,-327.545 689.843,-274.545 814.843,-274.545 814.843,-327.545"/>
<text text-anchor="middle" x="752.343" y="-312.345" font-family="Times,serif" font-size="14.00">Tensor conv op</text>
<text text-anchor="middle" x="752.343" y="-297.345" font-family="Times,serif" font-size="14.00">layout=kMKLDNN</text>
<text text-anchor="middle" x="752.343" y="-282.345" font-family="Times,serif" font-size="14.00">NCHW dim format</text>
</g>
<!-- conv_mkldnn&#45;&gt;tensor_mkldnn -->
<g id="edge4" class="edge"><title>conv_mkldnn&#45;&gt;tensor_mkldnn</title>
<path fill="none" stroke="black" d="M650.847,-301.045C650.847,-301.045 679.779,-301.045 679.779,-301.045"/>
<polygon fill="black" stroke="black" points="679.779,-304.545 689.779,-301.045 679.779,-297.545 679.779,-304.545"/>
</g>
<!-- conv_grad_mkldnn -->
<g id="node6" class="node"><title>conv_grad_mkldnn</title>
<ellipse fill="none" stroke="black" cx="556.798" cy="-94.0452" rx="94.0904" ry="94.0904"/>
<text text-anchor="middle" x="556.798" y="-113.345" font-family="Times,serif" font-size="14.00">Conv Grad Op</text>
<text text-anchor="middle" x="556.798" y="-98.3452" font-family="Times,serif" font-size="14.00">data_format=NHWC</text>
<text text-anchor="middle" x="556.798" y="-67.3452" font-family="Times,serif" font-size="14.00">MKL&#45;DNN</text>
</g>
<!-- tensor_conv_grad_mkldnn -->
<g id="node11" class="node"><title>tensor_conv_grad_mkldnn</title>
<polygon fill="none" stroke="black" points="265.752,-120.545 130.752,-120.545 130.752,-67.5452 265.752,-67.5452 265.752,-120.545"/>
<text text-anchor="middle" x="198.252" y="-105.345" font-family="Times,serif" font-size="14.00">Tensor Conv Grad op</text>
<text text-anchor="middle" x="198.252" y="-90.3452" font-family="Times,serif" font-size="14.00">layout=kMKLDNN</text>
<text text-anchor="middle" x="198.252" y="-75.3452" font-family="Times,serif" font-size="14.00">NCHW dim format</text>
</g>
<!-- conv_grad_mkldnn&#45;&gt;tensor_conv_grad_mkldnn -->
<g id="edge17" class="edge"><title>conv_grad_mkldnn&#45;&gt;tensor_conv_grad_mkldnn</title>
<path fill="none" stroke="black" d="M462.594,-94.0452C462.594,-94.0452 275.784,-94.0452 275.784,-94.0452"/>
<polygon fill="black" stroke="black" points="275.784,-90.5453 265.784,-94.0452 275.784,-97.5453 275.784,-90.5453"/>
</g>
<!-- pool_mkldnn -->
<g id="node7" class="node"><title>pool_mkldnn</title>
<ellipse fill="none" stroke="black" cx="947.888" cy="-301.045" rx="94.0904" ry="94.0904"/>
<text text-anchor="middle" x="947.888" y="-320.345" font-family="Times,serif" font-size="14.00">Pool Op</text>
<text text-anchor="middle" x="947.888" y="-305.345" font-family="Times,serif" font-size="14.00">data_format=NHWC</text>
<text text-anchor="middle" x="947.888" y="-274.345" font-family="Times,serif" font-size="14.00">MKL&#45;DNN</text>
</g>
<!-- tensor_mkldnn2 -->
<g id="node12" class="node"><title>tensor_mkldnn2</title>
<polygon fill="none" stroke="black" points="1202.93,-327.545 1077.93,-327.545 1077.93,-274.545 1202.93,-274.545 1202.93,-327.545"/>
<text text-anchor="middle" x="1140.43" y="-312.345" font-family="Times,serif" font-size="14.00">Tensor pool op</text>
<text text-anchor="middle" x="1140.43" y="-297.345" font-family="Times,serif" font-size="14.00">layout=kMKLDNN</text>
<text text-anchor="middle" x="1140.43" y="-282.345" font-family="Times,serif" font-size="14.00">NCHW dim format</text>
</g>
<!-- pool_mkldnn&#45;&gt;tensor_mkldnn2 -->
<g id="edge6" class="edge"><title>pool_mkldnn&#45;&gt;tensor_mkldnn2</title>
<path fill="none" stroke="black" d="M1042.19,-301.045C1042.19,-301.045 1067.85,-301.045 1067.85,-301.045"/>
<polygon fill="black" stroke="black" points="1067.85,-304.545 1077.85,-301.045 1067.85,-297.545 1067.85,-304.545"/>
</g>
<!-- pool_grad_mkldnn -->
<g id="node8" class="node"><title>pool_grad_mkldnn</title>
<ellipse fill="none" stroke="black" cx="947.888" cy="-94.0452" rx="94.0904" ry="94.0904"/>
<text text-anchor="middle" x="947.888" y="-113.345" font-family="Times,serif" font-size="14.00">Pool Grad Op</text>
<text text-anchor="middle" x="947.888" y="-98.3452" font-family="Times,serif" font-size="14.00">data_format=NHWC</text>
<text text-anchor="middle" x="947.888" y="-67.3452" font-family="Times,serif" font-size="14.00">MKL&#45;DNN</text>
</g>
<!-- tensor_pool_grad_mkldnn -->
<g id="node10" class="node"><title>tensor_pool_grad_mkldnn</title>
<polygon fill="none" stroke="black" points="817.843,-120.545 686.843,-120.545 686.843,-67.5452 817.843,-67.5452 817.843,-120.545"/>
<text text-anchor="middle" x="752.343" y="-105.345" font-family="Times,serif" font-size="14.00">Tensor Pool Grad op</text>
<text text-anchor="middle" x="752.343" y="-90.3452" font-family="Times,serif" font-size="14.00">layout=kMKLDNN</text>
<text text-anchor="middle" x="752.343" y="-75.3452" font-family="Times,serif" font-size="14.00">NCHW dim format</text>
</g>
<!-- pool_grad_mkldnn&#45;&gt;tensor_pool_grad_mkldnn -->
<g id="edge15" class="edge"><title>pool_grad_mkldnn&#45;&gt;tensor_pool_grad_mkldnn</title>
<path fill="none" stroke="black" d="M853.838,-94.0452C853.838,-94.0452 827.96,-94.0452 827.96,-94.0452"/>
<polygon fill="black" stroke="black" points="827.96,-90.5453 817.96,-94.0452 827.96,-97.5453 827.96,-90.5453"/>
</g>
<!-- tensor_mkldnn&#45;&gt;pool_mkldnn -->
<g id="edge5" class="edge"><title>tensor_mkldnn&#45;&gt;pool_mkldnn</title>
<path fill="none" stroke="black" d="M815.021,-301.045C815.021,-301.045 843.511,-301.045 843.511,-301.045"/>
<polygon fill="black" stroke="black" points="843.511,-304.545 853.511,-301.045 843.511,-297.545 843.511,-304.545"/>
</g>
<!-- tensor_pool_grad_mkldnn&#45;&gt;conv_grad_mkldnn -->
<g id="edge16" class="edge"><title>tensor_pool_grad_mkldnn&#45;&gt;conv_grad_mkldnn</title>
<path fill="none" stroke="black" d="M686.685,-94.0452C686.685,-94.0452 661.152,-94.0452 661.152,-94.0452"/>
<polygon fill="black" stroke="black" points="661.152,-90.5453 651.152,-94.0452 661.152,-97.5453 661.152,-90.5453"/>
</g>
<!-- tensor_conv_grad_mkldnn&#45;&gt;fetch_op -->
<g id="edge18" class="edge"><title>tensor_conv_grad_mkldnn&#45;&gt;fetch_op</title>
<path fill="none" stroke="black" d="M130.318,-94.0452C130.318,-94.0452 105.095,-94.0452 105.095,-94.0452"/>
<polygon fill="black" stroke="black" points="105.095,-90.5453 95.0949,-94.0452 105.095,-97.5453 105.095,-90.5453"/>
</g>
<!-- tensor_input_mean -->
<g id="node14" class="node"><title>tensor_input_mean</title>
<polygon fill="none" stroke="black" points="1367.93,-327.545 1242.93,-327.545 1242.93,-274.545 1367.93,-274.545 1367.93,-327.545"/>
<text text-anchor="middle" x="1305.43" y="-312.345" font-family="Times,serif" font-size="14.00">Tensor pool op</text>
<text text-anchor="middle" x="1305.43" y="-297.345" font-family="Times,serif" font-size="14.00">layout=kNHWC</text>
<text text-anchor="middle" x="1305.43" y="-282.345" font-family="Times,serif" font-size="14.00">NHWC dim format</text>
</g>
<!-- tensor_mkldnn2&#45;&gt;tensor_input_mean -->
<g id="edge7" class="edge"><title>tensor_mkldnn2&#45;&gt;tensor_input_mean</title>
<path fill="none" stroke="black" d="M1203.28,-301.045C1203.28,-301.045 1232.76,-301.045 1232.76,-301.045"/>
<polygon fill="black" stroke="black" points="1232.76,-304.545 1242.76,-301.045 1232.76,-297.545 1232.76,-304.545"/>
</g>
<!-- tensor_mean_grad_mkldnn -->
<g id="node13" class="node"><title>tensor_mean_grad_mkldnn</title>
<polygon fill="none" stroke="black" points="1202.93,-120.545 1077.93,-120.545 1077.93,-67.5452 1202.93,-67.5452 1202.93,-120.545"/>
<text text-anchor="middle" x="1140.43" y="-105.345" font-family="Times,serif" font-size="14.00">Tensor Grad mean</text>
<text text-anchor="middle" x="1140.43" y="-90.3452" font-family="Times,serif" font-size="14.00">layout=kMKLDNN</text>
<text text-anchor="middle" x="1140.43" y="-75.3452" font-family="Times,serif" font-size="14.00">NCHW dim format</text>
</g>
<!-- tensor_mean_grad_mkldnn&#45;&gt;pool_grad_mkldnn -->
<g id="edge14" class="edge"><title>tensor_mean_grad_mkldnn&#45;&gt;pool_grad_mkldnn</title>
<path fill="none" stroke="black" d="M1077.92,-94.0452C1077.92,-94.0452 1052.25,-94.0452 1052.25,-94.0452"/>
<polygon fill="black" stroke="black" points="1052.25,-90.5453 1042.25,-94.0452 1052.25,-97.5453 1052.25,-90.5453"/>
</g>
<!-- tensor_input_mean&#45;&gt;mean_op -->
<g id="edge8" class="edge"><title>tensor_input_mean&#45;&gt;mean_op</title>
<path fill="none" stroke="black" d="M1368.2,-301.045C1368.2,-301.045 1419.82,-301.045 1419.82,-301.045"/>
<polygon fill="black" stroke="black" points="1419.82,-304.545 1429.82,-301.045 1419.82,-297.545 1419.82,-304.545"/>
</g>
<!-- tensor_input_mean&#45;&gt;tensor_mean_grad -->
<g id="edge10" class="edge"><title>tensor_input_mean&#45;&gt;tensor_mean_grad</title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M1305.94,-274.407C1305.94,-274.407 1305.94,-130.581 1305.94,-130.581"/>
<polygon fill="black" stroke="black" points="1309.44,-130.581 1305.94,-120.581 1302.44,-130.581 1309.44,-130.581"/>
<text text-anchor="middle" x="1275.94" y="-191.294" font-family="Times,serif" font-size="14.00">InferShape</text>
</g>
<!-- tensor_output_mean&#45;&gt;mean_grad_op -->
<g id="edge11" class="edge"><title>tensor_output_mean&#45;&gt;mean_grad_op</title>
<path fill="none" stroke="black" d="M1477.94,-182.373C1477.94,-182.373 1477.94,-174.336 1477.94,-174.336"/>
<polygon fill="black" stroke="black" points="1481.44,-174.336 1477.94,-164.336 1474.44,-174.336 1481.44,-174.336"/>
</g>
<!-- tensor_mean_grad&#45;&gt;tensor_mean_grad_mkldnn -->
<g id="edge13" class="edge"><title>tensor_mean_grad&#45;&gt;tensor_mean_grad_mkldnn</title>
<path fill="none" stroke="black" d="M1238.8,-94.0452C1238.8,-94.0452 1213.04,-94.0452 1213.04,-94.0452"/>
<polygon fill="black" stroke="black" points="1213.04,-90.5453 1203.04,-94.0452 1213.04,-97.5453 1213.04,-90.5453"/>
</g>
<!-- tensor_feed2 -->
<g id="node18" class="node"><title>tensor_feed2</title>
<polygon fill="none" stroke="black" points="426.752,-327.545 301.752,-327.545 301.752,-274.545 426.752,-274.545 426.752,-327.545"/>
<text text-anchor="middle" x="364.252" y="-312.345" font-family="Times,serif" font-size="14.00">Tensor feed_op</text>
<text text-anchor="middle" x="364.252" y="-297.345" font-family="Times,serif" font-size="14.00">layout=kMKLDNN</text>
<text text-anchor="middle" x="364.252" y="-282.345" font-family="Times,serif" font-size="14.00">NCHW dim format</text>
</g>
<!-- tensor_feed&#45;&gt;tensor_feed2 -->
<g id="edge2" class="edge"><title>tensor_feed&#45;&gt;tensor_feed2</title>
<path fill="none" stroke="black" d="M261.01,-301.045C261.01,-301.045 291.681,-301.045 291.681,-301.045"/>
<polygon fill="black" stroke="black" points="291.682,-304.545 301.681,-301.045 291.681,-297.545 291.682,-304.545"/>
</g>
<!-- tensor_feed2&#45;&gt;conv_mkldnn -->
<g id="edge3" class="edge"><title>tensor_feed2&#45;&gt;conv_mkldnn</title>
<path fill="none" stroke="black" d="M426.766,-301.045C426.766,-301.045 452.437,-301.045 452.437,-301.045"/>
<polygon fill="black" stroke="black" points="452.437,-304.545 462.437,-301.045 452.437,-297.545 452.437,-304.545"/>
</g>
</g>
</svg>