add results for mini-batch