np.clip is to make sure the tensor values lie in the range [0, 1]. You need the input images normalized and be in a specific range(either [0, 1] or [0, 255]) which is what np.clip ensures.
Visualizing such unbounded tensors may not be a problem though, but they need to be in a certain bound in order to train a network.