I was wondering if it is possible to get the input and output activations of a layer given its parameters names.
For example, assume a weight tensor is called module.fc3.weights. Can I access the inputs and outputs of the layer which contains the said weight tensor?
I only need to do this once for a pertained neural network and therefore, good performance is not a concern.