Print warning when using TensorFlow 2
@@ -5,3 +5,10 @@ from .app import *
from .session import *
from .world import *
from .data import *
+from .util import *
+import tensorflow as tf
+
+
+if int(tf.__version__[0]) > 1:
+ import warnings
+ warnings.warn('TensorFlow 2 is not fully supported by PhiFlow.')
