File tree 5 files changed +10
-10
lines changed
5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
- Copyright Justin Le (c) 2018
1
+ Copyright Justin Le (c) 2020
2
2
3
3
All rights reserved.
4
4
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ differentiation process to "manual" differentiation by hand. When using the
183
183
184
184
[ bench ] : https://github.com/mstksg/backprop/blob/master/bench/bench.hs
185
185
186
- ![ benchmarks] ( https://i.imgur.com/7L5NV4P .png )
186
+ ![ benchmarks] ( https://i.imgur.com/rLUx4x4 .png )
187
187
188
188
Here we compare:
189
189
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ differentiation with "manual" differentiation:
33
33
34
34
[bench]: https:// github. com/ mstksg/ backprop/ blob/ master/ bench/ bench. hs
35
35
36
- ! [benchmarks](https:// i. imgur. com/ 7 L5NV4P . png)
36
+ ! [benchmarks](https:// i. imgur. com/ rLUx4x4 . png)
37
37
38
38
In the above, we compare :
39
39
@@ -73,8 +73,8 @@ three main sources:
73
73
[Wengert tape]: https:// dl. acm. org/ citation. cfm? doid= 355586.364791
74
74
75
75
In addition, usage of the " Higher-Kinded Data" - based pattern matching interface
76
- (over the lens- based accessor interface) incurs some penalties from the
77
- inefficient nature of GHC Generics in general .
76
+ (over the lens- based accessor interface) seems to result in more efficient
77
+ compiled code, but not by any significant amount .
78
78
79
79
Optimization Techniques
80
80
-----------------------
Original file line number Diff line number Diff line change 16
16
# name: custom-snapshot
17
17
# location: "./custom-snapshot.yaml"
18
18
# resolver: nightly-2018-03-25
19
- resolver : nightly-2020-06-25
19
+ resolver : lts-16.19
20
20
21
21
# User packages to be built.
22
22
# Various formats can be used as shown in the example below.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ packages:
13
13
hackage: vinyl-0.12.2
14
14
snapshots:
15
15
- completed:
16
- size: 503181
17
- url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2020/6/25 .yaml
18
- sha256: 96e98363790e62f4498da632069a03101cf588b3b47925e707f080cff4b6cfbb
19
- original: nightly-2020-06-25
16
+ size: 532177
17
+ url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/16/19 .yaml
18
+ sha256: d2b828ecf50386841d0c5700b58d38566992e10d63a062af497ab29ab031faa1
19
+ original: lts-16.19
You can’t perform that action at this time.
0 commit comments