Which fastai callback for data transformations before model input and before loss

Which callback can you use to access data before input into model and data&outputs before calculation of loss? Something to simulate this training loop:

for x, y in dataloader:
 x=normalize(x)
 outputs=model(x)
 outputs = unnormalize(outputs)