Question 25/30 fast.ai v3 lecture 10


In a class inheriting from nn.Module, what does self.register_buffer do?

Answer

self.register_buffer accomplishes the following:

Relevant part of lecture