Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxinwei committed Nov 21, 2023
1 parent 6ce40d4 commit bee0f5a
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 32 deletions.
2 changes: 1 addition & 1 deletion doc/recipes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
```{toctree}
cifar/index
benchmark
activation/index
activation/indexgit
```
87 changes: 56 additions & 31 deletions tests/cifar10/cifar10-resnet18-silu.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
" <rdf:RDF xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\n",
" <cc:Work>\n",
" <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\n",
" <dc:date>2023-11-21T16:45:46.185392</dc:date>\n",
" <dc:date>2023-11-21T16:46:28.831617</dc:date>\n",
" <dc:format>image/svg+xml</dc:format>\n",
" <dc:creator>\n",
" <cc:Agent>\n",
Expand Down Expand Up @@ -156,16 +156,16 @@
" <g id=\"line2d_1\">\n",
" <path d=\"M 59.89465 149.599219 \n",
"L 59.89465 10.999219 \n",
"\" clip-path=\"url(#p185532f40c)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
"\" clip-path=\"url(#pd4f0911e17)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
" </g>\n",
" <g id=\"line2d_2\">\n",
" <defs>\n",
" <path id=\"m42184c4316\" d=\"M 0 0 \n",
" <path id=\"mede9ea762d\" d=\"M 0 0 \n",
"L 0 3.5 \n",
"\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" </defs>\n",
" <g>\n",
" <use xlink:href=\"#m42184c4316\" x=\"59.89465\" y=\"149.599219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" <use xlink:href=\"#mede9ea762d\" x=\"59.89465\" y=\"149.599219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_1\">\n",
Expand Down Expand Up @@ -217,11 +217,11 @@
" <g id=\"line2d_3\">\n",
" <path d=\"M 92.996345 149.599219 \n",
"L 92.996345 10.999219 \n",
"\" clip-path=\"url(#p185532f40c)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
"\" clip-path=\"url(#pd4f0911e17)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
" </g>\n",
" <g id=\"line2d_4\">\n",
" <g>\n",
" <use xlink:href=\"#m42184c4316\" x=\"92.996345\" y=\"149.599219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" <use xlink:href=\"#mede9ea762d\" x=\"92.996345\" y=\"149.599219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_2\">\n",
Expand Down Expand Up @@ -262,11 +262,11 @@
" <g id=\"line2d_5\">\n",
" <path d=\"M 126.09804 149.599219 \n",
"L 126.09804 10.999219 \n",
"\" clip-path=\"url(#p185532f40c)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
"\" clip-path=\"url(#pd4f0911e17)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
" </g>\n",
" <g id=\"line2d_6\">\n",
" <g>\n",
" <use xlink:href=\"#m42184c4316\" x=\"126.09804\" y=\"149.599219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" <use xlink:href=\"#mede9ea762d\" x=\"126.09804\" y=\"149.599219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_3\">\n",
Expand Down Expand Up @@ -315,11 +315,11 @@
" <g id=\"line2d_7\">\n",
" <path d=\"M 159.199735 149.599219 \n",
"L 159.199735 10.999219 \n",
"\" clip-path=\"url(#p185532f40c)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
"\" clip-path=\"url(#pd4f0911e17)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
" </g>\n",
" <g id=\"line2d_8\">\n",
" <g>\n",
" <use xlink:href=\"#m42184c4316\" x=\"159.199735\" y=\"149.599219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" <use xlink:href=\"#mede9ea762d\" x=\"159.199735\" y=\"149.599219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_4\">\n",
Expand Down Expand Up @@ -355,11 +355,11 @@
" <g id=\"line2d_9\">\n",
" <path d=\"M 192.30143 149.599219 \n",
"L 192.30143 10.999219 \n",
"\" clip-path=\"url(#p185532f40c)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
"\" clip-path=\"url(#pd4f0911e17)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
" </g>\n",
" <g id=\"line2d_10\">\n",
" <g>\n",
" <use xlink:href=\"#m42184c4316\" x=\"192.30143\" y=\"149.599219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" <use xlink:href=\"#mede9ea762d\" x=\"192.30143\" y=\"149.599219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_5\">\n",
Expand Down Expand Up @@ -401,11 +401,11 @@
" <g id=\"line2d_11\">\n",
" <path d=\"M 225.403125 149.599219 \n",
"L 225.403125 10.999219 \n",
"\" clip-path=\"url(#p185532f40c)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
"\" clip-path=\"url(#pd4f0911e17)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
" </g>\n",
" <g id=\"line2d_12\">\n",
" <g>\n",
" <use xlink:href=\"#m42184c4316\" x=\"225.403125\" y=\"149.599219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" <use xlink:href=\"#mede9ea762d\" x=\"225.403125\" y=\"149.599219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_6\">\n",
Expand Down Expand Up @@ -578,16 +578,16 @@
" <g id=\"line2d_13\">\n",
" <path d=\"M 30.103125 149.599219 \n",
"L 225.403125 149.599219 \n",
"\" clip-path=\"url(#p185532f40c)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
"\" clip-path=\"url(#pd4f0911e17)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
" </g>\n",
" <g id=\"line2d_14\">\n",
" <defs>\n",
" <path id=\"m8105d30250\" d=\"M 0 0 \n",
" <path id=\"mc0e81ce52f\" d=\"M 0 0 \n",
"L -3.5 0 \n",
"\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" </defs>\n",
" <g>\n",
" <use xlink:href=\"#m8105d30250\" x=\"30.103125\" y=\"149.599219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" <use xlink:href=\"#mc0e81ce52f\" x=\"30.103125\" y=\"149.599219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_8\">\n",
Expand All @@ -612,11 +612,11 @@
" <g id=\"line2d_15\">\n",
" <path d=\"M 30.103125 121.879219 \n",
"L 225.403125 121.879219 \n",
"\" clip-path=\"url(#p185532f40c)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
"\" clip-path=\"url(#pd4f0911e17)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
" </g>\n",
" <g id=\"line2d_16\">\n",
" <g>\n",
" <use xlink:href=\"#m8105d30250\" x=\"30.103125\" y=\"121.879219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" <use xlink:href=\"#mc0e81ce52f\" x=\"30.103125\" y=\"121.879219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_9\">\n",
Expand All @@ -632,11 +632,11 @@
" <g id=\"line2d_17\">\n",
" <path d=\"M 30.103125 94.159219 \n",
"L 225.403125 94.159219 \n",
"\" clip-path=\"url(#p185532f40c)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
"\" clip-path=\"url(#pd4f0911e17)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
" </g>\n",
" <g id=\"line2d_18\">\n",
" <g>\n",
" <use xlink:href=\"#m8105d30250\" x=\"30.103125\" y=\"94.159219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" <use xlink:href=\"#mc0e81ce52f\" x=\"30.103125\" y=\"94.159219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_10\">\n",
Expand All @@ -652,11 +652,11 @@
" <g id=\"line2d_19\">\n",
" <path d=\"M 30.103125 66.439219 \n",
"L 225.403125 66.439219 \n",
"\" clip-path=\"url(#p185532f40c)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
"\" clip-path=\"url(#pd4f0911e17)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
" </g>\n",
" <g id=\"line2d_20\">\n",
" <g>\n",
" <use xlink:href=\"#m8105d30250\" x=\"30.103125\" y=\"66.439219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" <use xlink:href=\"#mc0e81ce52f\" x=\"30.103125\" y=\"66.439219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_11\">\n",
Expand All @@ -672,11 +672,11 @@
" <g id=\"line2d_21\">\n",
" <path d=\"M 30.103125 38.719219 \n",
"L 225.403125 38.719219 \n",
"\" clip-path=\"url(#p185532f40c)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
"\" clip-path=\"url(#pd4f0911e17)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
" </g>\n",
" <g id=\"line2d_22\">\n",
" <g>\n",
" <use xlink:href=\"#m8105d30250\" x=\"30.103125\" y=\"38.719219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" <use xlink:href=\"#mc0e81ce52f\" x=\"30.103125\" y=\"38.719219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_12\">\n",
Expand Down Expand Up @@ -733,11 +733,11 @@
" <g id=\"line2d_23\">\n",
" <path d=\"M 30.103125 10.999219 \n",
"L 225.403125 10.999219 \n",
"\" clip-path=\"url(#p185532f40c)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
"\" clip-path=\"url(#pd4f0911e17)\" style=\"fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square\"/>\n",
" </g>\n",
" <g id=\"line2d_24\">\n",
" <g>\n",
" <use xlink:href=\"#m8105d30250\" x=\"30.103125\" y=\"10.999219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" <use xlink:href=\"#mc0e81ce52f\" x=\"30.103125\" y=\"10.999219\" style=\"stroke: #000000; stroke-width: 0.8\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_13\">\n",
Expand Down Expand Up @@ -824,7 +824,19 @@
"L 72.466522 107.138995 \n",
"L 73.126862 107.051596 \n",
"L 73.135328 107.048532 \n",
"\" clip-path=\"url(#p185532f40c)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
"L 73.795669 112.216678 \n",
"L 74.45601 111.222898 \n",
"L 75.116351 111.074939 \n",
"L 75.776691 110.722336 \n",
"L 76.437032 110.267631 \n",
"L 76.445498 110.279921 \n",
"L 77.105839 112.530654 \n",
"L 77.766179 112.364845 \n",
"L 78.42652 112.122249 \n",
"L 79.086861 112.1979 \n",
"L 79.747201 112.180285 \n",
"L 79.755667 112.174816 \n",
"\" clip-path=\"url(#pd4f0911e17)\" style=\"fill: none; stroke: #1f77b4; stroke-width: 1.5; stroke-linecap: square\"/>\n",
" </g>\n",
" <g id=\"line2d_26\">\n",
" <path d=\"M 27.453296 109.868329 \n",
Expand Down Expand Up @@ -911,7 +923,19 @@
"L 72.466522 25.867067 \n",
"L 73.126862 25.883726 \n",
"L 73.135328 25.882087 \n",
"\" clip-path=\"url(#p185532f40c)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #bf00bf; stroke-width: 1.5\"/>\n",
"L 73.795669 23.354387 \n",
"L 74.45601 24.027674 \n",
"L 75.116351 24.048498 \n",
"L 75.776691 24.256731 \n",
"L 76.437032 24.501058 \n",
"L 76.445498 24.501631 \n",
"L 77.105839 24.117909 \n",
"L 77.766179 24.097085 \n",
"L 78.42652 24.178065 \n",
"L 79.086861 24.197731 \n",
"L 79.747201 24.112356 \n",
"L 79.755667 24.108007 \n",
"\" clip-path=\"url(#pd4f0911e17)\" style=\"fill: none; stroke-dasharray: 5.55,2.4; stroke-dashoffset: 0; stroke: #bf00bf; stroke-width: 1.5\"/>\n",
" </g>\n",
" <g id=\"line2d_27\">\n",
" <path d=\"M 30.103125 73.438519 \n",
Expand All @@ -928,7 +952,8 @@
"L 66.514989 32.343619 \n",
"L 69.825159 30.514099 \n",
"L 73.135328 29.058799 \n",
"\" clip-path=\"url(#p185532f40c)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #008000; stroke-width: 1.5\"/>\n",
"L 76.445498 30.001279 \n",
"\" clip-path=\"url(#pd4f0911e17)\" style=\"fill: none; stroke-dasharray: 9.6,2.4,1.5,2.4; stroke-dashoffset: 0; stroke: #008000; stroke-width: 1.5\"/>\n",
" </g>\n",
" <g id=\"patch_3\">\n",
" <path d=\"M 30.103125 149.599219 \n",
Expand Down Expand Up @@ -1172,7 +1197,7 @@
" </g>\n",
" </g>\n",
" <defs>\n",
" <clipPath id=\"p185532f40c\">\n",
" <clipPath id=\"pd4f0911e17\">\n",
" <rect x=\"30.103125\" y=\"10.999219\" width=\"195.3\" height=\"138.6\"/>\n",
" </clipPath>\n",
" </defs>\n",
Expand Down

0 comments on commit bee0f5a

Please sign in to comment.