You can just apply a threshold:
threshold = 0.5
pred = outputs > threshold

If your model has a single output channel with predictions in the range [0, 1], _, predicted = torch.max(outputs_new.data, 1) will give you an output of all zeros.
This method is usually applied for multi-class classification outputs, where each channel corresponds to a class index.