Ensure that sampled mini-batch is nonempty
Print minibatch size
Merge branch 'master' into scaling-memory
Merged w/ master