fix the build

This commit is contained in:
Mike J Innes 2017-01-16 01:21:45 +01:00
parent 271d06a376
commit d7fe525f4d
2 changed files with 3 additions and 2 deletions

View File

@ -46,5 +46,3 @@ end
# TODO: make correct
infer(::typeof(+), a, b) = a
infer(::typeof(softmax), x) = x
infer(::typeof(σ), x) = x

View File

@ -13,3 +13,6 @@ softmax(xs) = exp.(xs) ./ sum(exp.(xs))
flatten(xs) = reshape(xs, length(xs))
shape(::typeof(flatten), in) = prod(in)
infer(::typeof(softmax), x) = x
infer(::typeof(σ), x) = x