don't rebatch batches

This commit is contained in:
Mike J Innes 2016-10-30 00:20:15 +01:00
parent 06e37081d3
commit 605e3a9363

View File

@ -20,6 +20,7 @@ function tf(model)
end
batchone(x) = Batch((x,))
batchone(x::Batch) = x
function batch(xs)
dims = ndims(xs)-1