-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #702 from LuxDL/rebase_docs
Add activation functions doc reference (Rebase #694)
- Loading branch information
Showing
3 changed files
with
74 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
163098a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark Results
Dense(2 => 2)/cpu/reverse/ReverseDiff (compiled)/(2, 128)
3696.875
ns3713.125
ns1.00
Dense(2 => 2)/cpu/reverse/Zygote/(2, 128)
7233.5
ns7203.333333333333
ns1.00
Dense(2 => 2)/cpu/reverse/Tracker/(2, 128)
20908
ns20819
ns1.00
Dense(2 => 2)/cpu/reverse/ReverseDiff/(2, 128)
9790.4
ns9780.75
ns1.00
Dense(2 => 2)/cpu/reverse/Flux/(2, 128)
9125
ns9093
ns1.00
Dense(2 => 2)/cpu/reverse/SimpleChains/(2, 128)
4518.375
ns4467.125
ns1.01
Dense(2 => 2)/cpu/reverse/Enzyme/(2, 128)
1171.1726618705036
ns1159.7676056338028
ns1.01
Dense(2 => 2)/cpu/forward/NamedTuple/(2, 128)
1173.6119402985075
ns1169.8357664233577
ns1.00
Dense(2 => 2)/cpu/forward/ComponentArray/(2, 128)
1187.3636363636363
ns1189.0078125
ns1.00
Dense(2 => 2)/cpu/forward/Flux/(2, 128)
1788.8620689655172
ns1776.9912280701756
ns1.01
Dense(2 => 2)/cpu/forward/SimpleChains/(2, 128)
179.96897038081806
ns180.60507757404795
ns1.00
Dense(20 => 20)/cpu/reverse/ReverseDiff (compiled)/(20, 128)
17242
ns17362
ns0.99
Dense(20 => 20)/cpu/reverse/Zygote/(20, 128)
16801
ns16872
ns1.00
Dense(20 => 20)/cpu/reverse/Tracker/(20, 128)
39254
ns39698.5
ns0.99
Dense(20 => 20)/cpu/reverse/ReverseDiff/(20, 128)
29134
ns29275
ns1.00
Dense(20 => 20)/cpu/reverse/Flux/(20, 128)
20038
ns20047
ns1.00
Dense(20 => 20)/cpu/reverse/SimpleChains/(20, 128)
17633
ns17413
ns1.01
Dense(20 => 20)/cpu/reverse/Enzyme/(20, 128)
4310.857142857143
ns4328.785714285714
ns1.00
Dense(20 => 20)/cpu/forward/NamedTuple/(20, 128)
3817.125
ns3864.75
ns0.99
Dense(20 => 20)/cpu/forward/ComponentArray/(20, 128)
3949.875
ns3916.125
ns1.01
Dense(20 => 20)/cpu/forward/Flux/(20, 128)
4780.285714285715
ns4892
ns0.98
Dense(20 => 20)/cpu/forward/SimpleChains/(20, 128)
1658.1
ns1654.1
ns1.00
Conv((3, 3), 3 => 3)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 3, 128)
46801623
ns39421463
ns1.19
Conv((3, 3), 3 => 3)/cpu/reverse/Zygote/(64, 64, 3, 128)
57394014
ns57774528
ns0.99
Conv((3, 3), 3 => 3)/cpu/reverse/Tracker/(64, 64, 3, 128)
96959842
ns72442185
ns1.34
Conv((3, 3), 3 => 3)/cpu/reverse/ReverseDiff/(64, 64, 3, 128)
101748704
ns89245855
ns1.14
Conv((3, 3), 3 => 3)/cpu/reverse/Flux/(64, 64, 3, 128)
106543968
ns73071392
ns1.46
Conv((3, 3), 3 => 3)/cpu/reverse/SimpleChains/(64, 64, 3, 128)
11913745.5
ns12092880
ns0.99
Conv((3, 3), 3 => 3)/cpu/reverse/Enzyme/(64, 64, 3, 128)
17580360
ns17868830.5
ns0.98
Conv((3, 3), 3 => 3)/cpu/forward/NamedTuple/(64, 64, 3, 128)
6976389
ns7042694
ns0.99
Conv((3, 3), 3 => 3)/cpu/forward/ComponentArray/(64, 64, 3, 128)
6936975.5
ns7026994
ns0.99
Conv((3, 3), 3 => 3)/cpu/forward/Flux/(64, 64, 3, 128)
18128983
ns10167053.5
ns1.78
Conv((3, 3), 3 => 3)/cpu/forward/SimpleChains/(64, 64, 3, 128)
6378775
ns6398143
ns1.00
vgg16/cpu/reverse/Zygote/(32, 32, 3, 16)
720026710
ns733077817
ns0.98
vgg16/cpu/reverse/Zygote/(32, 32, 3, 64)
2535400202
ns2576408758
ns0.98
vgg16/cpu/reverse/Zygote/(32, 32, 3, 2)
127145543
ns145382696
ns0.87
vgg16/cpu/reverse/Tracker/(32, 32, 3, 16)
940372357.5
ns793204426
ns1.19
vgg16/cpu/reverse/Tracker/(32, 32, 3, 64)
3626594533
ns2934972747
ns1.24
vgg16/cpu/reverse/Tracker/(32, 32, 3, 2)
212597349.5
ns200283848.5
ns1.06
vgg16/cpu/reverse/Flux/(32, 32, 3, 16)
725880434.5
ns657077422.5
ns1.10
vgg16/cpu/reverse/Flux/(32, 32, 3, 64)
2880495088
ns2630726384.5
ns1.09
vgg16/cpu/reverse/Flux/(32, 32, 3, 2)
145177630
ns125267603
ns1.16
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 16)
172990409
ns174556269.5
ns0.99
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 64)
640453775.5
ns655564353.5
ns0.98
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 2)
33890669
ns34840242
ns0.97
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 16)
164117913
ns165209849.5
ns0.99
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 64)
638052367.5
ns639944606
ns1.00
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 2)
29688588
ns30130274.5
ns0.99
vgg16/cpu/forward/Flux/(32, 32, 3, 16)
204705878
ns186248429.5
ns1.10
vgg16/cpu/forward/Flux/(32, 32, 3, 64)
890135307
ns716769749
ns1.24
vgg16/cpu/forward/Flux/(32, 32, 3, 2)
37377804.5
ns35937506
ns1.04
Conv((3, 3), 64 => 64)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 64, 128)
1215524499
ns1212793695
ns1.00
Conv((3, 3), 64 => 64)/cpu/reverse/Zygote/(64, 64, 64, 128)
1855961983.5
ns1876991316.5
ns0.99
Conv((3, 3), 64 => 64)/cpu/reverse/Tracker/(64, 64, 64, 128)
2369632518
ns2315042302
ns1.02
Conv((3, 3), 64 => 64)/cpu/reverse/ReverseDiff/(64, 64, 64, 128)
2493773538
ns2546229569
ns0.98
Conv((3, 3), 64 => 64)/cpu/reverse/Flux/(64, 64, 64, 128)
1954896920.5
ns1829086938.5
ns1.07
Conv((3, 3), 64 => 64)/cpu/reverse/Enzyme/(64, 64, 64, 128)
559179805
ns562582630
ns0.99
Conv((3, 3), 64 => 64)/cpu/forward/NamedTuple/(64, 64, 64, 128)
315722092
ns322654245
ns0.98
Conv((3, 3), 64 => 64)/cpu/forward/ComponentArray/(64, 64, 64, 128)
316975900
ns324527121
ns0.98
Conv((3, 3), 64 => 64)/cpu/forward/Flux/(64, 64, 64, 128)
446182933
ns368705304
ns1.21
Conv((3, 3), 1 => 1)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 1, 128)
11872676
ns12030571
ns0.99
Conv((3, 3), 1 => 1)/cpu/reverse/Zygote/(64, 64, 1, 128)
17732771
ns17884778.5
ns0.99
Conv((3, 3), 1 => 1)/cpu/reverse/Tracker/(64, 64, 1, 128)
18978200
ns19210928.5
ns0.99
Conv((3, 3), 1 => 1)/cpu/reverse/ReverseDiff/(64, 64, 1, 128)
23685126
ns23885393.5
ns0.99
Conv((3, 3), 1 => 1)/cpu/reverse/Flux/(64, 64, 1, 128)
17760726.5
ns17872013
ns0.99
Conv((3, 3), 1 => 1)/cpu/reverse/SimpleChains/(64, 64, 1, 128)
1158445
ns1165770.5
ns0.99
Conv((3, 3), 1 => 1)/cpu/reverse/Enzyme/(64, 64, 1, 128)
5756319
ns5886802
ns0.98
Conv((3, 3), 1 => 1)/cpu/forward/NamedTuple/(64, 64, 1, 128)
2040243.5
ns2059749
ns0.99
Conv((3, 3), 1 => 1)/cpu/forward/ComponentArray/(64, 64, 1, 128)
2022836
ns2042150
ns0.99
Conv((3, 3), 1 => 1)/cpu/forward/Flux/(64, 64, 1, 128)
2062329.5
ns2090230
ns0.99
Conv((3, 3), 1 => 1)/cpu/forward/SimpleChains/(64, 64, 1, 128)
199142
ns205073
ns0.97
Dense(200 => 200)/cpu/reverse/ReverseDiff (compiled)/(200, 128)
291514
ns295001
ns0.99
Dense(200 => 200)/cpu/reverse/Zygote/(200, 128)
264635
ns266698
ns0.99
Dense(200 => 200)/cpu/reverse/Tracker/(200, 128)
362166
ns370442
ns0.98
Dense(200 => 200)/cpu/reverse/ReverseDiff/(200, 128)
405158
ns411668
ns0.98
Dense(200 => 200)/cpu/reverse/Flux/(200, 128)
272480
ns276035.5
ns0.99
Dense(200 => 200)/cpu/reverse/SimpleChains/(200, 128)
405398
ns410075
ns0.99
Dense(200 => 200)/cpu/reverse/Enzyme/(200, 128)
83125
ns83606
ns0.99
Dense(200 => 200)/cpu/forward/NamedTuple/(200, 128)
81131
ns81742
ns0.99
Dense(200 => 200)/cpu/forward/ComponentArray/(200, 128)
81042
ns82474
ns0.98
Dense(200 => 200)/cpu/forward/Flux/(200, 128)
86091
ns87192
ns0.99
Dense(200 => 200)/cpu/forward/SimpleChains/(200, 128)
104505
ns104675
ns1.00
Conv((3, 3), 16 => 16)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 16, 128)
208699675
ns189862618.5
ns1.10
Conv((3, 3), 16 => 16)/cpu/reverse/Zygote/(64, 64, 16, 128)
319819436.5
ns323925648.5
ns0.99
Conv((3, 3), 16 => 16)/cpu/reverse/Tracker/(64, 64, 16, 128)
440840736
ns396072434
ns1.11
Conv((3, 3), 16 => 16)/cpu/reverse/ReverseDiff/(64, 64, 16, 128)
502066159
ns457714601.5
ns1.10
Conv((3, 3), 16 => 16)/cpu/reverse/Flux/(64, 64, 16, 128)
405717557
ns374592898
ns1.08
Conv((3, 3), 16 => 16)/cpu/reverse/SimpleChains/(64, 64, 16, 128)
318284871.5
ns346883743
ns0.92
Conv((3, 3), 16 => 16)/cpu/reverse/Enzyme/(64, 64, 16, 128)
99765515
ns101249018.5
ns0.99
Conv((3, 3), 16 => 16)/cpu/forward/NamedTuple/(64, 64, 16, 128)
43558093
ns43995641
ns0.99
Conv((3, 3), 16 => 16)/cpu/forward/ComponentArray/(64, 64, 16, 128)
43439741
ns43836879
ns0.99
Conv((3, 3), 16 => 16)/cpu/forward/Flux/(64, 64, 16, 128)
70444994
ns60056689
ns1.17
Conv((3, 3), 16 => 16)/cpu/forward/SimpleChains/(64, 64, 16, 128)
28060129
ns28759179
ns0.98
Dense(2000 => 2000)/cpu/reverse/ReverseDiff (compiled)/(2000, 128)
18601594
ns19178597
ns0.97
Dense(2000 => 2000)/cpu/reverse/Zygote/(2000, 128)
19357835
ns19643348.5
ns0.99
Dense(2000 => 2000)/cpu/reverse/Tracker/(2000, 128)
23024994.5
ns23527065
ns0.98
Dense(2000 => 2000)/cpu/reverse/ReverseDiff/(2000, 128)
23879952
ns24189371
ns0.99
Dense(2000 => 2000)/cpu/reverse/Flux/(2000, 128)
19459937
ns19709627
ns0.99
Dense(2000 => 2000)/cpu/reverse/Enzyme/(2000, 128)
6479553.5
ns6556235
ns0.99
Dense(2000 => 2000)/cpu/forward/NamedTuple/(2000, 128)
6476907
ns6556525
ns0.99
Dense(2000 => 2000)/cpu/forward/ComponentArray/(2000, 128)
6465645
ns6516631
ns0.99
Dense(2000 => 2000)/cpu/forward/Flux/(2000, 128)
6493170
ns6542791.5
ns0.99
This comment was automatically generated by workflow using github-action-benchmark.