Added utils.grab_in_minibatch