Imported Upstream version 1.21.0
[platform/core/ml/nnfw.git] / res / TensorFlowPythonExamples / examples / conv2d_1 / __init__.py
index fa4f72f..7cf8dee 100644 (file)
@@ -1,6 +1,8 @@
 import tensorflow as tf
 import numpy as np
 
+tf.compat.v1.disable_eager_execution()
+
 in_ = tf.compat.v1.placeholder(tf.float32, shape=(1, 32, 32, 3), name="Hole")
 
 filters = np.random.uniform(low=-1., high=1, size=[5, 5, 3, 32]).astype(np.float32)