This commit is contained in:
Mike J Innes 2016-10-28 16:25:59 +01:00
parent d6eacf3375
commit 8140c2312d
1 changed files with 0 additions and 1 deletions

View File

@ -40,7 +40,6 @@ Op(f) = Op(f, (d...) -> nothing)
graph(op::Op, xs...) = op.f(xs...)
Flux.shape(op::Op, d...) = op.shape(d...)
# TODO: detect variable reuse
graph{T<:AArray}(params::Associative, p::Flux.Param{T}) =
@get!(params, p, Variable(p.x))