You can use single images, but have to make sure the tensor contains the batch dimension:
image = ... # shape = [channels, height, width]
image = image.unsqueeze(0) # shape = [1, channels, height, width]
output = model(image)