Skip to content

Commit

Permalink
Prepare for 0.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
HuwCampbell committed Dec 18, 2017
1 parent 96a4506 commit c157f4e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Version 0.2.0 (14 Dec 2017)

- Allow composition of recurrent layers

## Version 0.1.0 (12 Apr 2017)

- Initial release.
3 changes: 2 additions & 1 deletion grenade.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: grenade
version: 0.1.0
version: 0.2.0
license: BSD2
license-file: LICENSE
author: Huw Campbell <huw.campbell@gmail.com>
Expand All @@ -24,6 +24,7 @@ description:

extra-source-files:
README.md
CHANGELOG.md
cbits/im2col.h
cbits/im2col.c
cbits/gradient_descent.h
Expand Down
11 changes: 3 additions & 8 deletions src/Grenade/Recurrent/Layers/ConcatRecurrent.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,14 @@ import Grenade.Recurrent.Core

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

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

0 comments on commit c157f4e

Please sign in to comment.