this might be a bit dirty
This commit is contained in:
parent
215e997540
commit
4698cc0156
@ -37,6 +37,7 @@ end
|
|||||||
runseq(f, xs::Tuple...) = f(xs...)
|
runseq(f, xs::Tuple...) = f(xs...)
|
||||||
runseq(f, xs::AbstractArray...) = stack(f(map(x -> (unstack(x,2)...,), xs)...), 2)
|
runseq(f, xs::AbstractArray...) = stack(f(map(x -> (unstack(x,2)...,), xs)...), 2)
|
||||||
runseq(f, xs::BatchSeq...) = rebatchseq(runseq(f, rawbatch.(xs)...))
|
runseq(f, xs::BatchSeq...) = rebatchseq(runseq(f, rawbatch.(xs)...))
|
||||||
|
runseq(f, xs) = runseq(f, (xs...,))
|
||||||
|
|
||||||
function (m::SeqModel)(x)
|
function (m::SeqModel)(x)
|
||||||
runseq(x) do x
|
runseq(x) do x
|
||||||
|
Loading…
Reference in New Issue
Block a user