Skip to content

Commit 9e2148e

Browse files
committed
Prepare for 0.2.0 release
1 parent 96a4506 commit 9e2148e

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Version 0.2.0 (14 Dec 2017)
2+
3+
- Allow composition of recurrent layers
4+
5+
- Optimise the Wengert tape for the LSTM layer
6+
7+
## Version 0.1.0 (12 Apr 2017)
8+
9+
- Initial release.

grenade.cabal

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: grenade
2-
version: 0.1.0
2+
version: 0.2.0
33
license: BSD2
44
license-file: LICENSE
55
author: Huw Campbell <huw.campbell@gmail.com>
@@ -24,6 +24,7 @@ description:
2424

2525
extra-source-files:
2626
README.md
27+
CHANGELOG.md
2728
cbits/im2col.h
2829
cbits/im2col.c
2930
cbits/gradient_descent.h

src/Grenade/Recurrent/Layers/ConcatRecurrent.hs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,14 @@ import Grenade.Recurrent.Core
3131

3232
import Numeric.LinearAlgebra.Static ( (#), split, R )
3333

34-
-- | A Concatentating Layer.
34+
-- | A Recurrent Concatentating Layer.
3535
--
3636
-- This layer shares it's input state between two sublayers, and concatenates their output.
3737
--
3838
-- With Networks able to be Layers, this allows for very expressive composition of complex Networks.
3939
--
40-
-- The Concat layer has a few instances, which allow one to flexibly "bash" together the outputs.
41-
--
42-
-- Two 1D vectors, can go to a 2D shape with 2 rows if their lengths are identical.
43-
-- Any 2 1D vectors can also become a longer 1D Vector.
44-
--
45-
-- 3D images become 3D images with more channels. The sizes must be the same, one can use Pad
46-
-- and Crop layers to ensure this is the case.
40+
-- The ConcatRecurrent layer currently supports D1 shape concatenation only, but allows a mix of
41+
-- recurrent and feedforward layers.
4742
data ConcatRecurrent :: Shape -> * -> Shape -> * -> * where
4843
ConcatRecLeft :: x -> y -> ConcatRecurrent m (Recurrent x) n (FeedForward y)
4944
ConcatRecRight :: x -> y -> ConcatRecurrent m (FeedForward x) n (Recurrent y)

0 commit comments

Comments
 (0)