Using
with torch.no_grad():
    for batch_idx, image in enumerate(data_loader):
        # perform your operations on image without wrapping it in a variable


Should work since Variables and Tensors have been merged in v 0.4