Hello
My questions are

tf.random.set_seed(1234) # applied to achieve consistent results;
How does set_seed work? How could it keep results reproducible no matter how many times I run through the code?

While set_seed can keep the result weights reproducible, why don’t we just use the calculated weights for the following process? Why does it load some numbers that I don’t know where they come from?

Why does it matter if the following results differ? I tried to run the following code using different weights. The only result that would change is the values of predictions. What is the matter if this changes?
Thank you very much.
Weiwei