Partition randomPatchExtractionDatastore according to indices
randomPatchExtractionDatastore
patchds2 = partitionByIndex(patchds,ind)
patchds2 = partitionByIndex(patchds,ind) partitions a subset of observations in a random patch extraction datastore, patchds, into a new datastore, patchds2. The desired observations are specified by indices, ind.
patchds2
patchds
ind
collapse all
Random patch extraction datastore, specified as a randomPatchExtractionDatastore object.
Indices of observations, specified as a vector of positive integers.
Output datastore, returned as a randomPatchExtractionDatastore object containing a subset of files from patchds.
randomPatchExtractionDatastore | read | readall | readByIndex
read
readall
readByIndex