In [6]:
session.run(gradient)
print(session.run(w))
session.close()
-2.88