Imported Upstream version 1.21.0
[platform/core/ml/nnfw.git] / res / TensorFlowPythonExamples / examples / reshape / __init__.py
index f451bac..c60c0a6 100644 (file)
@@ -1,4 +1,6 @@
 import tensorflow as tf
 
+tf.compat.v1.disable_eager_execution()
+
 in_ = tf.compat.v1.placeholder(dtype=tf.float32, shape=(4, 4), name="Hole")
 op_ = tf.compat.v1.reshape(in_, shape=[2, 2, 2, 2])