I\'ve installed tensorflow using pip on ubuntu 16.04 LTS, when running this code https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/3_NeuralNetworks/r
It is because the argument order has changed
You can see the issue here : https://github.com/tensorflow/tensorflow/issues/6501