afb9f9bca5
Updated to lts-20.18
2023-04-22 18:02:24 +03:00
b79918bf0f
Bumped to lts-18.28
2022-03-22 17:24:02 +03:00
Erik de Castro Lopo
5206c95c42
Remove use of RecordWildCards
2020-04-12 06:24:42 +10:00
Erik de Castro Lopo
f19da0f74d
travis: Really switch to cabal-3.2
2020-04-11 11:47:24 +10:00
Erik de Castro Lopo
da43a26f72
Travis updates
...
* Add ghc-8.10 to build matrix.
* Switch to cabal 3.2 (required by ghc-8.10).
2020-04-11 11:16:20 +10:00
Nolrai
a161f2d021
Add stack.yaml
2020-03-30 11:45:31 +11:00
Erik de Castro Lopo
14ec0de6bf
examples: Use CPP to support multiple GHC versions
2020-01-27 08:00:41 +11:00
Erik de Castro Lopo
c793c756b9
Fix compiler warning
2020-01-23 19:31:54 +11:00
Erik de Castro Lopo
6d0b8c3f29
travis: Add ghc 8.8.2 and switch to cabal-3.0
2020-01-23 06:48:29 +11:00
Erik de Castro Lopo
b70f6a8d19
Grenade.Core.Shape: Fix for ghc 8.8
...
For version 2.6 of the singletons library (which is version locked to
the GHC version) switched the 'Sing' type from a data family to a
type family.
This commit uses CPP hackery to workaround this change.
Closes: https://github.com/HuwCampbell/grenade/issues/94
2020-01-23 06:48:29 +11:00
Erik de Castro Lopo
fed6eb2c70
Drop support for GHC < 8.0
2020-01-19 14:59:00 +11:00
Erik de Castro Lopo
bf6ddad683
Test.Grenade.Recurrent.Layers.LSTM: Fix compiler warning
2020-01-19 14:59:00 +11:00
Erik de Castro Lopo
31268573fd
Update .gitignore
2020-01-19 14:59:00 +11:00
Erik de Castro Lopo
2b5dc8330f
Bump upper bounds of dependencies
2020-01-18 21:40:47 +11:00
Erik de Castro Lopo
045640f2bc
grenade.cabal: Add upper bound for typelits-witnesses
2020-01-18 21:40:47 +11:00
Erik de Castro Lopo
7e90b0c1c5
travis: Use ghc 8.6.5
2020-01-18 21:40:47 +11:00
Erik de Castro Lopo
f729b291e4
grenade.cabal: Bump upper bound on criterion
2019-02-19 18:02:56 +11:00
Erik de Castro Lopo
f03e0efbbf
travis: Add GHC 8.6.3
2019-02-19 18:02:56 +11:00
Claude Heiland-Allen
84f54dbe9b
fix test suite for GHCs 8.2 8.4 8.6
2019-02-19 18:02:56 +11:00
Claude Heiland-Allen
6c39f41e1d
default extensions needs cabal verison 1.10 needs default language
2019-02-19 18:02:56 +11:00
Claude Heiland-Allen
8d5ef502be
support GHC 7.10
...
- no `Data.Kind` module in this old GHC, so use CPP for conditional include
- also use CPP to define `Type=*` for backward compatibility
2019-02-19 18:02:56 +11:00
Claude Heiland-Allen
49a4280a91
GHC 8.4 compatibility
...
- `-XNoStarIsType` is new in GHC 8.6
- can't use `-XCPP` to conditionally enable `LANGUAGE` pragmas (implicit module declaration)
- use a conditional in the .cabal file, but this is active for all modules
- need to replace all `*` with `Type` and `import Data.Kind (Type)` (works in 8.4)
2019-02-19 18:02:56 +11:00
Claude Heiland-Allen
0bc6bd5fad
NoStarIsType and UndecidableInstances needed for ghc-8.6
...
NoStarIsType -- otherwise GHC gets confused about * as a type operator
import Data.Kind (Type) -- to replace the usage of * as a type
UndecidableInstances -- otherwise GHC complains about nested KnownNat (a * b)
2019-02-19 18:02:56 +11:00
Claude Heiland-Allen
251a398a99
allow newer hmatrix
2019-02-19 18:02:56 +11:00
Claude Heiland-Allen
fdc3de513d
allow newer containers
2019-02-19 18:02:56 +11:00
Dave Evans
d84113ce17
Update Layer.hs
...
Just fixed a spelling error
agnotostic -> agnostic
2019-02-19 14:37:27 +11:00
Erik de Castro Lopo
1d930717a9
travis: Drop ghc 7.10.3 and use ghc 8.4.4
...
Since this project uses some of the new dependent types features of GHC
keeping it working with multiple GHC versions is going to be difficult.
Drop 7.10.3 because it has already stoppped working.
2019-02-19 14:33:31 +11:00
Huw Campbell
950be38afe
Merge pull request #75 from erikd/master
...
Make it build with ghc 8.4
2018-09-19 09:46:37 +10:00
Erik de Castro Lopo
f3fbebf820
README.md: Add ghc 8.2 and 8.4
2018-09-16 18:14:06 +10:00
Erik de Castro Lopo
b7ae86ba5f
travis: Build with ghc 8.4
2018-09-16 17:46:20 +10:00
Erik de Castro Lopo
55e6719fcb
Make it build with ghc 8.4
2018-09-16 17:46:20 +10:00
Erik de Castro Lopo
efd11f7960
grenade.cabal: Allow building with ghc 8.4
...
* Drop repeated and potentially conflicting version constraints. Version
constraints really only need to be specified once in the cabal file
(especially when building with mafia).
* Drop the version constraint on singletons. The singletons package
version number is tightly coupled to the GHC version (due to TH)
so its safe to leave the version bounds unspecified.
2018-09-16 17:46:20 +10:00
Huw Campbell
92b5760926
Merge pull request #70 from koenigmaximilian/patch-1
...
Simplify recurrent example
2018-07-11 15:29:04 +10:00
koenigmaximilian
04b026f5d7
Simplify recurrent example
...
Produced better results when I tested (the Shakespeare example already contains a more complex recurrent network, let's KISS on this one.)
2018-07-07 20:57:25 +02:00
Huw Campbell
93435b2b99
Update mafia and make available in examples folder
2018-05-18 13:11:12 +10:00
Huw Campbell
9309b3ba7a
Merge pull request #60 from Nickske666/typos
...
Fixed some typos
2018-04-21 09:30:49 +10:00
Nick Van den Broeck
8c49bf8231
Fixed some typos
2018-04-20 17:14:58 +02:00
Huw Campbell
647e491cbe
Merge pull request #57 from sholland1/serialize-instance
...
Add Serialize instance for Crop layer
2018-03-31 18:00:02 +11:00
sholland1
ad97b6ddae
Add Serialize instance for Crop layer
2018-03-30 23:20:52 -05:00
Huw Campbell
b1a6e1630f
Merge pull request #54 from sholland1/readme-fix
...
Small fix to example network in readme
2018-02-23 23:53:31 +11:00
sholland1
577e6d798e
Small fix to example network in readme
2018-02-22 23:21:22 -06:00
Huw Campbell
b613502971
Merge pull request #50 from schnecki/master
...
Added the sinusoid activation function layer
2018-01-29 12:10:47 +11:00
Manuel
b5e1243f24
Update Sinusoid.hs
2018-01-26 20:20:37 +01:00
Manuel Schneckenreither
8aee2ad092
added the sinusoid activation function layer
2018-01-26 10:52:41 +01:00
Huw Campbell
fe8a5ff37f
Merge pull request #49 from HuwCampbell/topic/exact-hotmap
...
Topic/exact hotmap
2018-01-04 21:35:13 +11:00
Huw Campbell
9d9dfac6a2
And add a comment for where to grab the data
2018-01-04 16:27:37 +11:00
Huw Campbell
8349a85b0f
Give a slightly not terrible error message
2018-01-04 16:16:34 +11:00
Huw Campbell
cb2eb0db8f
Only permit exact hotmaps
2018-01-04 15:59:55 +11:00
Huw Campbell
96a450668c
Merge pull request #47 from HuwCampbell/topic/tape-optimisations
...
Optimise Wengert tape for LSTM
2017-12-16 22:20:58 +11:00
Huw Campbell
a5881518bf
Optimise Wengert tape for LSTM
2017-12-16 21:22:16 +11:00