Copyright | (c) Huw Campbell 2016-2017 |
---|---|
License | BSD2 |
Stability | experimental |
Safe Haskell | None |
Language | Haskell98 |
Documentation
data Merge :: * -> * -> * where Source #
A Merging layer.
Similar to Concat layer, except sums the activations instead of creating a larger shape.
(Show x, Show y) => Show (Merge x y) Source # | |
(Serialize a, Serialize b) => Serialize (Merge a b) Source # | |
(UpdateLayer x, UpdateLayer y) => UpdateLayer (Merge x y) Source # | Run two layers in parallel, combining their outputs. This just kind of "smooshes" the weights together. |
(SingI Shape i, SingI Shape o, Layer x i o, Layer y i o) => Layer (Merge x y) i o Source # | Combine the outputs and the inputs, summing the output shape |
type Gradient (Merge x y) Source # | |
type Tape (Merge x y) i o Source # | |