MethodError: no method matching MLUtils.JoinedData(::Tuple{MLUtils.JoinedData{UnitRange{Int64}, 2}, UnitRange{Int64}}, ::Tuple{Int64, Int64})
It is nice to have the functionality above because it otherwise may inhibit the use of joinobs in a loop where one iteratively concatenates data into the same variable.
I am not sure how easy this is to generically solve because the implementation lets joinobs make a NTuple{N,T} out of the input data containers and then simulates these being one data container by overriding the base getindex and length methods.
In particular, the following does not work
The error I get is
It is nice to have the functionality above because it otherwise may inhibit the use of
joinobs
in a loop where one iteratively concatenates data into the same variable.I am not sure how easy this is to generically solve because the implementation lets
joinobs
make aNTuple{N,T}
out of the input data containers and then simulates these being one data container by overriding the basegetindex
andlength
methods.