Main Content
partition
Description
partitions the submbq
= partition(mbq
,numParts
,indx
)minibatchqueue
object
mbq
into numParts
parts and returns the partition
corresponding to the index indx
. The properties of
submbq
are the same as the properties of mbq
.
The output minibatchqueue
object has access only to the partition of data it
is given when it is created. Using reset
with
submbq
resets the minibatchqueue
object to the start of the
data partition. Using shuffle
with
submbq
shuffles only the partitioned data. If you want to shuffle the
data across multiple partitions, you must shuffle the original
minibatchqueue
object and then re-partition.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2020b