This question was put on hold for being off topic with the following note:
"This question appears to be off-topic because EITHER it is not about statistics, machine learning, data analysis, data mining, or data visualization, OR it focuses on programming, debugging, or performing routine operations within a statistical computing platform."
First, my post was about neural networks in general, I just posted the Tensorflow code to illustrate my point, in the same way that multiple posts on this SE include the R code to illustrate a point, so I don't agree that the question "focuses on programming" solely.
Second if questions that dive into the details of the code are off topic, why do we have such tags as Tensorflow, R, Python, Scipy, etc...in the first place? Wouldn't any question with those tags be disqualified using the same criteria that my question was disqualified on?
Also can someone please migrate this question over to SO if it is indeed off topic?