About Normalization using pre-trained vgg16 networks

It depends how large the dataset is and how large each latent tensor is.
If you cannot store all tensors during training, you would have to calculate the stats on the fly.

Here is an example of using forward hooks.

1 Like