I want to find if the layer is convolutional and linear from the entire network. If it is one of them, then I want to read the shape and parameters of the layer. I have found a solution to check if the module is convolutional or linear here 1. But I don’t find a way to read the parameters and shape of the corresponding layer. Would you please suggest a solution?