fix the build
This commit is contained in:
parent
271d06a376
commit
d7fe525f4d
@ -46,5 +46,3 @@ end
|
|||||||
|
|
||||||
# TODO: make correct
|
# TODO: make correct
|
||||||
infer(::typeof(+), a, b) = a
|
infer(::typeof(+), a, b) = a
|
||||||
infer(::typeof(softmax), x) = x
|
|
||||||
infer(::typeof(σ), x) = x
|
|
||||||
|
@ -13,3 +13,6 @@ softmax(xs) = exp.(xs) ./ sum(exp.(xs))
|
|||||||
flatten(xs) = reshape(xs, length(xs))
|
flatten(xs) = reshape(xs, length(xs))
|
||||||
|
|
||||||
shape(::typeof(flatten), in) = prod(in)
|
shape(::typeof(flatten), in) = prod(in)
|
||||||
|
|
||||||
|
infer(::typeof(softmax), x) = x
|
||||||
|
infer(::typeof(σ), x) = x
|
||||||
|
Loading…
Reference in New Issue
Block a user