Hello. I have a network that get a image variable as input. In the beginning of network, I need to resize the image to different sizes, therefore I use adaptiveavgpooling. However, as adaptiveavgpooling is a nn module, it should record some parameter for backprop and during backprop it will take some time to deal with these procedure, which in my settting is unnecessary, as I know the image variable is the beginning of the network and have no need to backprop further. So I want to ask how to disable the backprop of layer in this situation. Thanks!