How does the weights being initialized?

Let’s say I am using CNN. I am assuming a certain values are being automatically selected as initial weights and then we apply backpropagation. How does these values being selected? Thanks in advance.

Each module uses its reset_parameters() method as seen here for nn.Linear.