this is pretty useless
This commit is contained in:
parent
9f62227db3
commit
6a3bed1e61
@ -10,11 +10,3 @@ end
|
|||||||
|
|
||||||
Affine(in::Integer, out::Integer; init = initn) =
|
Affine(in::Integer, out::Integer; init = initn) =
|
||||||
Affine(init(in, out), init(1, out))
|
Affine(init(in, out), init(1, out))
|
||||||
|
|
||||||
@net type Sigmoid
|
|
||||||
layer::Model
|
|
||||||
x -> σ(layer(x))
|
|
||||||
end
|
|
||||||
|
|
||||||
Sigmoid(in::Integer, out::Integer; init = randn) =
|
|
||||||
Sigmoid(Affine(in, out, init = init))
|
|
||||||
|
Loading…
Reference in New Issue
Block a user