Tensorflow Python Compatibility