I have something that I dont understand here. I mean, it works, but I would like to understand what is going on behind the scenes:
def load_data():
f = gzip.open('mnist.pkl.gz', 'rb')
training_data, validation_data, test_data = pickle.load(f, encoding="latin1")
f.close()
return (training_data, validation_data, test_data)
so, what I am trying to understand is here, in line 3, there are 3 variables(training_data, validation_data and test_data). These are being assigned to one function though!? My question is, what happens to them and/or the function? Is the function executed three times? Or are the variables simply a function then that can be called? Or is the loaded data being split in 3 parts, a third of them being distributed to every variable? I am a noob, so this is probably stupid, but please help me!