Closed racinmat closed 2 years ago
Fixes #90 . Adds
(m::AbstractMillModel)(x::AbstractVector{<:AbstractMillNode}) = m(Zygote.@ignore(reduce(catobs, x))) (m::AbstractMillModel)(x::DataSubset) = m(Zygote.@ignore(getobs(x)))
which simplifies usage of RandomBatches from MLDataPattern for minibatching.
RandomBatches
MLDataPattern
Adds convenience method
catobs(as::AbstractVector{<:AbstractMillNode}) = reduce(catobs, as)
Fixes #90 . Adds
which simplifies usage of
RandomBatches
fromMLDataPattern
for minibatching.Adds convenience method