Tensorflow Python Constructor