this is gone

This commit is contained in:
Mike J Innes 2017-05-30 17:47:21 +01:00
parent ced8d80135
commit 5654e15167
2 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,6 @@ graph(::typeof(softmax), x) = nn.softmax(x)
graph(::typeof(relu), x) = nn.relu(x) graph(::typeof(relu), x) = nn.relu(x)
graph(::typeof(σ), x) = nn.sigmoid(x) graph(::typeof(σ), x) = nn.sigmoid(x)
graph(::typeof(hcat), xs...) = concat(1, xs) graph(::typeof(hcat), xs...) = concat(1, xs)
graph(::typeof(seq), xs, n) = TensorFlow.unstack(xs, num = n, axis = 1)
graph(::typeof(sum), x, dim=nothing) = TensorFlow.reduce_sum(x;axis=dim) graph(::typeof(sum), x, dim=nothing) = TensorFlow.reduce_sum(x;axis=dim)
graph(::typeof(prod), x, dim=nothing) = TensorFlow.reduce_prod(x;axis=dim) graph(::typeof(prod), x, dim=nothing) = TensorFlow.reduce_prod(x;axis=dim)
graph(::typeof(min), x, dim=nothing) = TensorFlow.reduce_min(x;axis=dim) graph(::typeof(min), x, dim=nothing) = TensorFlow.reduce_min(x;axis=dim)

View File

@ -1,4 +1,4 @@
export seq, Seq, BatchSeq export Seq, BatchSeq
struct Seq{T,S} <: AbstractVector{T} struct Seq{T,S} <: AbstractVector{T}
data::CatMat{T,S} data::CatMat{T,S}