mirror of
https://github.com/HuwCampbell/grenade.git
synced 2024-11-23 00:34:44 +03:00
Nicer type
This commit is contained in:
parent
9989092216
commit
16573158d8
@ -66,8 +66,8 @@ Usage
|
|||||||
|
|
||||||
To perform back propagation, one can call the eponymous function
|
To perform back propagation, one can call the eponymous function
|
||||||
```haskell
|
```haskell
|
||||||
backPropagate :: forall input target shapes layers. (Head shapes ~ input, Last shapes ~ target)
|
backPropagate :: forall shapes layers.
|
||||||
=> Network layers shapes -> S input -> S target -> Gradients layers
|
Network layers shapes -> S (Head shapes) -> S (Last shapes) -> Gradients layers
|
||||||
```
|
```
|
||||||
which takes a network, appropriate input and target data, and returns the
|
which takes a network, appropriate input and target data, and returns the
|
||||||
back propagated gradients for the network. The shapes of the gradients are
|
back propagated gradients for the network. The shapes of the gradients are
|
||||||
|
Loading…
Reference in New Issue
Block a user