Some transformations are working on tensors directly (Normalization), while most work on PIL.Images, so you are correct in your assumption.
Alternatively, you could use e.g. opencv to directly transform your numpy arrays.