C2_W1_Lab01_Neurons_and_Layers weights

why is w, b= linear_layer.get_weights() returning weights, when no weight has been set so far, not able to follow,

TensorFlow automatically initializes the weights when the layer is created.