Unable to understand tensorflow class assigment error

Hi, here is a thread about this question that might be helpful.