I added nn.Parameter to the returned value of one_filter and whole_filter as you mentioned and I didn’t use self.register_parameter. In my code, filter1 and filter2 are the returned value of whole_filter, does this make them appear in model.parameters()? But when I added cuda(), they would not appear. You may run my code above to see it. Thank you a lot again!