shuffle
R2026bShuffle data in mini-batch queue
Syntax
Description
shuffle( resets the data held in
mbq)mbq and shuffles it into a random order. After shuffling, the next
function returns different mini-batches. Use this syntax to reset and shuffle your data
after each training epoch in a custom training loop.
Examples
Input Arguments
Version History
Introduced in R2020b