I am new to Tensorflow and struggling to know the advantages of the first one over the second. Can anyone please help me?